CVE-2022-1554: Path Traversal in scout-browser

scout-browser Updated 02 Oct 2025

Summary

04/05/2022
Yes i
Moderate
6.8

CVE-2022-1554: Path Traversal in scout-browser. Affects scout-browser versions < 4.52. Fixed in 4.52. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Scout is a Variant Call Format (VCF) visualization interface. The Pypi package scout-browser is a Python package that provides a web-based interface for visualizing VCF files. It allows users to explore and analyze genetic variants in genomic data. The package is vulnerable to a path traversal vulnerability, which can be exploited by an attacker to access files outside of the intended directory. This vulnerability exists in versions prior to 4.52 of the scout-browser package.

Vulnerability Detail

The path traversal vulnerability in scout-browser is due to the improper handling of user-supplied input. An attacker can manipulate the input to bypass the intended file access restrictions and access arbitrary files on the system. This can lead to unauthorized disclosure of sensitive information or even remote code execution. The vulnerability has a CVSSv3 score of 6.8, indicating a moderate severity level.

How To Fix

Minimum fixed version

4.52

This is the first release that contains the fix.

pip install --upgrade "scout-browser==4.52"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading to the latest version is not immediately possible, a temporary workaround is to restrict access to the affected application by implementing proper access controls and input validation. Additionally, it is recommended to sanitize user-supplied input to prevent path traversal attacks. Here is an example of how to sanitize user input in Python:

import os

def sanitize_path(path):
    # Remove any '../' sequences
    sanitized_path = os.path.normpath(path)
    # Ensure the path is within the intended directory
    if not sanitized_path.startswith('/path/to/intended/directory'):
        raise ValueError('Invalid path')
    return sanitized_path

By using the sanitize_path function to validate user-supplied paths, the risk of path traversal attacks can be mitigated.

Conclusion

The scout-browser package prior to version 4.52 is vulnerable to a path traversal vulnerability. This can be exploited by an attacker to access arbitrary files on the system. It is recommended to upgrade to the latest version of the package to mitigate the risk. If immediate upgrade is not possible, implementing proper access controls, input validation, and sanitization of user-supplied input can help reduce the impact of this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for scout-browser →

Share this vulnerability

FAQ

The path traversal vulnerability in scout-browser can allow an attacker to access sensitive files on the system, potentially leading to unauthorized disclosure of information or remote code execution.

No, only versions prior to 4.52 of scout-browser are affected by this vulnerability. It is recommended to upgrade to the latest version to mitigate the risk.

Yes, a temporary workaround is to implement proper access controls and input validation to restrict access to the affected application. Additionally, sanitizing user-supplied input can help mitigate the risk of path traversal attacks.

You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide your Pipfile.lock and the playground will analyze it for open-source vulnerabilities, including this path traversal vulnerability in scout-browser.

For further support on vulnerability remediation, you can contact info@devnack.com. Our team will be happy to assist you in addressing this vulnerability and ensuring the security of your application.

Related vulnerabilities

Recent vulnerabilities recorded for scout-browser.

How To Fix

Minimum fixed version

4.52

This is the first release that contains the fix.

pip install --upgrade "scout-browser==4.52"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback