CVE-2026-115515: Red Hat @fastify/static: @fastify/static: Information disclosure via access control guard bypass
This Red Hat advisory covers CVE-2026-115515 in Red Hat Enterprise Linux AI (RHEL AI) 3, Red Hat OpenShift AI (RHOAI) and Red Hat OpenShift Dev Spaces.
- CVE-2026-115515
Key facts
- Vendor rating
- Medium, CVSS 5.3
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N· base score 5.3, scored by openjsAttack vector: network. Attack complexity: low. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: low. Integrity impact: none. Availability impact: none.- Weakness
- CWE-863: Incorrect Authorization
- CISA SSVC
- Exploitation: none observed. Automatable: yes. Technical impact: partial. CISA, .
- CISA KEV
- Not listed (catalogue checked )
- Source published
- Listed by VulniPulse
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Affected products & platforms
Description
A flaw was found in @fastify/static, which leads to information disclosure. The access control check evaluates only the requested path before resolving default index files or file extensions, and the component serves the resolved file without re-verifying access permissions.
An unauthenticated remote attacker can exploit this flaw by requesting directory paths or extensionless filenames to bypass path restriction rules. This issue allows unauthorized access to sensitive files stored within the static file root directory.
Applications that do not rely on @fastify/static path filtering or that serve static assets through independent reverse proxies are unaffected. The flaw does not grant unauthorized write access, administrative control, or arbitrary code execution.
Red Hat severity: Moderate — CVSS 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N). Weakness: CWE-551.
Affected Red Hat products: Red Hat Enterprise Linux AI (RHEL AI) 3; Red Hat OpenShift AI (RHOAI); Red Hat OpenShift Dev Spaces. Red Hat does not currently list a fixing RHSA for this CVE.
Text from the source record.
How to fix CVE-2026-115515
Vendor guidance
- To mitigate this issue without upgrading, adjust the @fastify/static configuration within the application: 1. Disable automatic directory indexing and file extension resolution by setting `index: false` and omitting or leaving empty the `extensions` option when registering the plugin. 2. If directory indexing or extension resolution is necessary, modify the custom `allowedPath` handler to explicitly reject directory paths (e.g., trailing slashes) and extensionless variations corresponding to restricted files. Caveat: Disabling these options requires clients to specify explicit filenames and extensions in their requests. Modifying application configuration requires restarting or reloading the affected Node.js service.
More Red Hat Linux advisories
CVE-2026-48710May 26, 2026Security restriction bypass via malformed HTTP Host headerCVE-2026-125350Nov 10, 2026Use after free in XMLCVE-2026-114713Nov 8, 2026Command injection via unescaped message tagCVE-2026-90436Nov 6, 2026Remote code execution via insecure deserialization of SOAP fault messagesCVE-2026-123158Nov 5, 2026Password authentication bypass via password hash misinterpretationCVE-2026-115731Nov 3, 2026authenticated remote code execution via report event deserialization
Get an email when Red Hat publishes the next one.
See Red Hat's last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.