Skip to main content
EPSS 0.3%top 73%

CVE-2026-62663: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in masci banks

0
High
VulnerabilityCVE-2026-62663cvecve-2026-62663cwe-22
Published: 07/30/2026 (07/30/2026, 16:16:34 UTC)
Source: CVE Database V5
Vendor/Project: masci
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected software

masci

banks

Affected versions
<2.4.4
GitHub Actionsmore threats →ai
masci/banks
pkg:github/masci/banks
Affected versions
<2.4.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/06/2026, 17:31:52 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses