CVE-2026-62663: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in masci banks
CVE-2026-62663 is a path traversal vulnerability in the masci banks product prior to version 2.4.4. The vulnerability arises because banks accepts untrusted user input as file paths without sanitization or directory restrictions, allowing attackers to read arbitrary files accessible to the Python process. This can lead to exposure of sensitive files such as .env, SSH keys, cloud credentials, and system files like /etc/passwd and /etc/shadow. The issue has been fixed in version 2.4.4.
AI Analysis
Technical Summary
The masci banks product versions before 2.4.4 contain a path traversal vulnerability (CWE-22) in its media filters (image, audio, video, document). These filters accept user-controlled input as file paths and open them directly without any path sanitization or canonicalization. An attacker controlling template variables can exploit this to read arbitrary files on the server, with contents returned base64-encoded in the prompt output. This vulnerability allows unauthorized disclosure of sensitive files and credentials. The vulnerability is addressed in version 2.4.4.
Potential Impact
Successful exploitation allows an unauthenticated attacker to read arbitrary files accessible to the Python process running banks. This can lead to disclosure of sensitive information such as environment variables, SSH private keys, cloud credentials, source code, and critical system files like /etc/passwd and /etc/shadow. The vulnerability does not impact integrity or availability but has high confidentiality impact.
Mitigation Recommendations
Upgrade to masci banks version 2.4.4 or later, where this path traversal vulnerability has been fixed. There is no indication of an official patch advisory, but the fix is included in version 2.4.4. Until upgrading, avoid processing untrusted user input in template variables passed to banks prompts.
CVE-2026-62663: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in masci banks
Description
CVE-2026-62663 is a path traversal vulnerability in the masci banks product prior to version 2.4.4. The vulnerability arises because banks accepts untrusted user input as file paths without sanitization or directory restrictions, allowing attackers to read arbitrary files accessible to the Python process. This can lead to exposure of sensitive files such as .env, SSH keys, cloud credentials, and system files like /etc/passwd and /etc/shadow. The issue has been fixed in version 2.4.4.
CVSS v3.1
Score 7.5high
Affected software
masci
banks
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The masci banks product versions before 2.4.4 contain a path traversal vulnerability (CWE-22) in its media filters (image, audio, video, document). These filters accept user-controlled input as file paths and open them directly without any path sanitization or canonicalization. An attacker controlling template variables can exploit this to read arbitrary files on the server, with contents returned base64-encoded in the prompt output. This vulnerability allows unauthorized disclosure of sensitive files and credentials. The vulnerability is addressed in version 2.4.4.
Potential Impact
Successful exploitation allows an unauthenticated attacker to read arbitrary files accessible to the Python process running banks. This can lead to disclosure of sensitive information such as environment variables, SSH private keys, cloud credentials, source code, and critical system files like /etc/passwd and /etc/shadow. The vulnerability does not impact integrity or availability but has high confidentiality impact.
Mitigation Recommendations
Upgrade to masci banks version 2.4.4 or later, where this path traversal vulnerability has been fixed. There is no indication of an official patch advisory, but the fix is included in version 2.4.4. Until upgrading, avoid processing untrusted user input in template variables passed to banks prompts.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-14T20:22:04.394Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a6b81699c2644c7f860ea6b
Added to database: 07/30/2026, 16:52:57 UTC
Last enriched: 08/06/2026, 17:31:52 UTC
Last updated: 09/14/2026, 22:01:35 UTC
Views: 49
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.