PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-7120 @fastify/static CVE debrief

The CVE-2026-7120 vulnerability affects the @fastify/static module, allowing unauthenticated attackers to bypass path-based filtering by requesting equivalent non-canonical pathnames. This issue is patched in version 10.1.2. Developers and administrators should be aware of this vulnerability and take steps to mitigate it. The vulnerability has a CVSS score of 5.3 and is considered medium-severity. Affected product deployments should be identified, and owners assigned for follow-up. Official advisories and CVE records should be reviewed to validate affected scope, severity, and vendor guidance.

Vendor
@fastify/static
Product
Unknown
CVSS
MEDIUM 5.3
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-23
Original CVE updated
2026-07-28
Advisory published
2026-07-23
Advisory updated
2026-07-28

Who should care

Developers and administrators using @fastify/static versions up to and including 10.1.1 should be aware of this vulnerability and take steps to mitigate it. This includes reviewing and adjusting path-based filtering configurations and monitoring for potential exploitation attempts. Affected operators, platforms, and security teams should prioritize this vulnerability based on its CVSS score and potential impact on their systems and data. Compensating controls for exposed systems should be reviewed while remediation is scheduled and verified. Relevant monitoring, detection, and logs for exposed assets should be checked for extra review. Exceptions should be tracked, and remediated assets retested and closed only after evidence is documented. Asset inventory and source tracking can help in managing this vulnerability effectively across the organization. Rollback and change windows should be considered for updates or mitigations through normal change control where exposure is confirmed. The bypass does not allow access outside the configured static root by itself; it defeats path-based filtering only. Evidence from the NVD and CVE.org indicates that @fastify/static versions up to and including 10.1.1 are affected by a path traversal issue. The CVE record and NVD detail provide information on the vulnerability and its impact. Defensive priority is medium due to the CVSS score of 5.3 and potential for bypassing path-based filtering in @fastify/static. Evidence limits and known affected scope should be considered when verifying this vulnerability. Defenders should verify configurations and implement compensating controls where necessary. The vulnerability allows for bypassing path-based filtering, which can lead to unintended file serving. This can be mitigated by updating to version 10.1.2 or later and reviewing path-based filtering configurations. Monitoring and detection capabilities should be reviewed to ensure they can identify potential exploitation attempts. Asset inventory and source tracking can help in managing this vulnerability effectively across the organization. Rollback and change windows should be considered for updates or mitigations through normal .

Technical summary

The @fastify/static module evaluates the allowedPath callback before normalizing dot segments and duplicate path separators in the pathname used for file resolution. This allows an unauthenticated attacker to bypass allowedPath restrictions by requesting equivalent non-canonical pathnames, potentially causing files that were intended to be denied to be served anyway. The issue is patched in @fastify/static 10.1.2. Affected product context and defensive impact should be considered when assessing this vulnerability.

Defensive priority

Medium-priority defensive actions are recommended due to the CVSS score of 5.3 and the potential for bypassing path-based filtering in @fastify/static.

Recommended defensive actions

  • Update @fastify/static to version 10.1.2 or later
  • Review and adjust path-based filtering configurations
  • Monitor for potential exploitation attempts
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review

Evidence notes

Evidence from the NVD and CVE.org indicates that @fastify/static versions up to and including 10.1.1 are affected by a path traversal issue. The CVE record and NVD detail provide information on the vulnerability and its impact.

Official resources

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-07-23T04:16:33.187Z and has not been modified since then.