CVE-2026-62663
Description
A flaw was found in Banks. An attacker who can control template variables processed by Banks can exploit a path traversal vulnerability in the media filters (image, audio, video, document). This allows the attacker to read arbitrary files on the system where Banks is running, such as sensitive configuration files or credentials. The content of these files can then be exfiltrated, leading to unauthorized information disclosure.
Statement
This information disclosure flaw in the banks library allows an attacker to read arbitrary files via path traversal when processing untrusted user input in media filters. Red Hat products utilizing banks to process user-provided template variables are at risk, as this could lead to the exfiltration of sensitive system files, elevating the impact beyond typical information disclosure due to the potential for credential exposure.
Mitigation
Applications utilizing the `banks` library should ensure that any file paths provided to its media filters are from trusted sources or are rigorously sanitized to prevent path traversal sequences (e.g., `../`). Additionally, restrict the file system permissions of the process running `banks` to only necessary directories to limit the impact of successful exploitation.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 7.5 | N/A | 7.5 |
| Attack Vector | Network | N/A | Network |
| Attack Complexity | Low | N/A | Low |
| Privileges Required | None | N/A | None |
| User Interaction | None | N/A | None |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality | High | N/A | High |
| Integrity Impact | None | N/A | None |
| Availability Impact | None | N/A | None |
Vector
Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.