Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Ruby

CVE-2026-125110 — rack

Medium · CVSS 5.3EPSS 0.4% First seen November 09, 2026

One of 4 rack vulnerabilities published together by NVD.

RubyWebVulnerabilities

Research article

Rack: Rack::Static header rules bypassed through encoded dot segments (CVE-2026-125110)

CVECVE-2026-125110
Vendor and productrack
PublishedNovember 12, 2026 07:11 UTC
Research cut-offNovember 12, 2026 05:56 UTC
Sources reviewed4: NVD record (last modified 2026-11-09); CISA KEV catalog; GitHub advisory (2026-11-10); FIRST EPSS (2026-11-10)

Executive summary

CVE-2026-125110 is a path-handling flaw in the Rack Ruby web server interface, where Rack::Static evaluates path-specific header rules against a differently normalized path than the one it serves [1]. The NVD record carries CVSS 3.1 base score 5.3 (MEDIUM) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N, and GitHub's advisory reports the same score and vector [1, 3]. Affected ranges are rack below 2.2.25, rack 3.0 up to but excluding 3.1.23, and rack 3.2 up to but excluding 3.2.8, with fixes in 2.2.25, 3.1.23 and 3.2.8 [1, 3]. Exploitation needs no authentication, but only applications that use path-specific header rules with Rack::Static are described as affected [1]. The record describes effects as a known file being served without its configured security headers, and the score reflects low integrity impact only [1, 3]. CISA's KEV catalog does not list the CVE as of 2026-11-12, and the FIRST EPSS estimate is 0.0025 (0.25%), which is a statistical estimate rather than evidence of exploitation [2, 4]. No exploitation in the wild or public proof of concept is documented in the reviewed sources. The most important immediate action is to identify Rack deployments with Rack::Static and path-specific header rules and upgrade them to the fixed version for their branch [1, 3].

Key points

  • CVE-2026-125110 affects rack Rack::Static when path-specific header rules are used; the record says it serves files under encoded or raw dot segments without their configured headers [1].
  • CVSS 3.1 base score 5.3 MEDIUM, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N, consistent between NVD and GitHub [1, 3].
  • Affected ranges: below 2.2.25, 3.0 up to 3.1.23, and 3.2 up to 3.2.8; fixed in 2.2.25, 3.1.23 and 3.2.8 [1, 3].
  • Not in CISA KEV as of 2026-11-12; EPSS 0.0025 is a statistical estimate, not evidence of exploitation [2, 4].
  • No exploitation evidence, indicators of compromise or public proof of concept appear in the reviewed sources [1, 2, 3, 4].

Vulnerability identification

FieldValueSource
CVE IDCVE-2026-125110[1]
CNA-published productrack (Ruby package)[1, 3]
ComponentRack::Static middleware, path-specific header rules (written headerrules in the record)[1]
PlatformRuby web applications using the Rack interface[1]
Published2026-11-09T22:18:42[1]
Last modified2026-11-09T22:18:42[1]
Record statusReceived; the pack does not show completed NVD analysis[1]
CWECWE-180 (named Incorrect Behavior Order: Validate Before Canonicalize in the GitHub advisory; name not available in the NVD record)[1, 3]
CVSS 3.1 base score5.3 MEDIUM[1, 3]
CVSS 3.1 vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N[1, 3]
CVSS scorersNVD record lists a secondary scorer from the GitHub security advisories account; GitHub's advisory reports the same score and vector[1, 3]
Related advisoryGHSA-wvg4-6p58-3gh3 (published 2026-11-10T18:50:07)[1, 3]
Related referencesThree commit references and the GHSA advisory are listed in the record; commit contents are not in the pack[1]
CISA KEVNot listed as of 2026-11-12[2]
EPSS0.0025 (0.25%), percentile 0.1656, dated 2026-11-10[4]

No CVSS 4.0 score appears in the reviewed sources. The two CVSS 3.1 sources agree on score and vector, so no scoring conflict exists in the pack [1, 3].

Technical background

Rack is a Ruby interface between web servers and Ruby applications, built around a chain of middleware components that each handle or transform a request before it reaches the application [1]. Rack::Static is one such middleware. It serves files from a configured directory without passing the request to application code, and it can attach HTTP response headers to responses based on path-matching rules [1].

Terms used in this article:

  • URL decoding (percent-decoding): converting percent-encoded sequences such as %2e into their literal characters before a path is compared or used.
  • Dot segments: path components written as . (current directory) or .. (parent directory). A path canonicalizer resolves them, so that a request for a file through an indirect path maps to the same file as the direct path.
  • Normalization and canonicalization: transforming a path into a single standard form. The record names Utils.cleanpathinfo as the normalization step applied before serving [1].
  • HTTP response headers: metadata sent with a response. The record names Content-Disposition and Content-Security-Policy as examples of security-relevant headers that path-specific rules can set [1].

Analyst assessment: the record implies a pipeline in which the serving path is normalized, while header-rule matching uses a path that has only been URL-decoded. The pack does not describe the internal implementation of Utils.cleanpathinfo or the header-rule code, so the exact transformations are not established by the reviewed sources.

Vulnerability description

The flaw violates the expectation that a path-specific security policy applies to every request that resolves to the file it governs. According to the record, Rack::Static serves a file after normalizing the request path, but evaluates its header rules against a path that has only been URL-decoded [1]. Requests that reach the same file through encoded or raw dot segments can therefore fall outside the header rules intended for that file [1].

What an attacker can cause, as described in the record: an unauthenticated remote client can receive a known file without the path-specific headers the application configured, such as Content-Disposition or Content-Security-Policy [1]. The scoring treats confidentiality as unaffected and integrity as low impact, with no availability impact [1, 3].

Conditions for the flaw to matter:

  1. The application uses Rack::Static.
  2. The application configures path-specific header rules for files it serves.
  3. The file is reachable through the static path.

The record states that applications without path-specific header rules are not affected [1].

What the sources do not establish: whether any affected file is sensitive; whether the missing headers enable a concrete attack against a specific application; and whether the flaw bypasses any access control. The record describes missing headers, not authorization bypass, and the pack contains no evidence of access control failure. Not established by the reviewed sources.

Root cause analysis

Confirmed: the record describes a mismatch in which the serving path is canonicalized while the header-rule path is only URL-decoded [1]. The GitHub advisory classifies the weakness as CWE-180, which describes validating input before it has been canonicalized [3]. Thus the sources confirm the weakness class and the mismatch.

Analyst assessment: the validation step, which determines whether a path matches a header rule, runs before canonicalization. A check performed on a non-canonical path cannot reliably match the canonical form that the server ultimately serves. Existing controls fail because the header-rule matching and the file-serving code do not share a single canonical representation of the request path.

Not established by the reviewed sources: the exact code change in the fix, since the three referenced commits are not reproduced in the pack [1]. The specific function-level defect is therefore not confirmed.

Technical mechanics

Illustrative flow, based on the record's description [1]:

  1. A client sends an HTTP request whose path contains percent-encoded or raw dot segments that resolve to a file the application serves.
  2. Rack::Static normalizes the path with Utils.cleanpathinfo and resolves it to the file to serve [1].
  3. Rack::Static separately URL-decodes the request path and matches it against the configured path-specific header rules [1].
  4. Because the header-rule input is not canonical, the rule for the intended file may not match.
  5. The file is served with the default headers and without the path-specific headers [1].
  6. The control that should have prevented this is a single canonicalization of the path before any policy decision, so that the header rule and the served file are determined from the same value (Analyst assessment, consistent with the CWE-180 classification [3]).

The record does not describe authentication or authorization checks in this path, and the pack does not describe state, parsing or memory behaviour relevant to this issue. Not established by the reviewed sources.

Attack surface and exploitation prerequisites

PrerequisiteStatusSource
Network accessRemote; the CVSS attack vector is network [1, 3][1, 3]
Adjacent network, local, physical accessNot required per the CVSS vector [1, 3][1, 3]
AuthenticationNone required per the CVSS privileges-required value [1, 3][1, 3]
Privilege levelNo privileges required per the vector [1, 3][1, 3]
User interactionNone required per the vector [1, 3][1, 3]
Required configurationRack::Static in use, with path-specific header rules [1][1]
Required knowledgeThe attacker must know or guess a file served by Rack::Static [1][1]
ScopeUnchanged per the vector [1, 3][1, 3]
Environmental dependenciesNot established by the reviewed sources-

The vector values above are CVSS descriptors and do not, by themselves, prove exploitability in a given deployment. Whether a specific application meets the configuration prerequisites must be confirmed from its own configuration.

Exploitation scenarios and attack lifecycle

No exploitation activity is confirmed by the reviewed sources [2, 4].

Illustrative scenario (hypothetical): an application serves a PDF through Rack::Static and sets a Content-Disposition rule so the file is downloaded rather than displayed inline. A client that requests the file through an encoded dot-segment form could receive it displayed inline, because the header rule did not match. The impact depends on the file and the application, and the record does not describe such a scenario.

Defensive opportunities:

  • Prevention: upgrade Rack to a fixed version, and avoid relying solely on path-specific header rules for security headers that must apply to every response.
  • Detection: review web server or application logs for requests to header-protected paths that contain encoded or raw dot segments. Log patterns for this are an analyst suggestion, not from a source.
  • Containment: restrict public access to files that must not be served without their headers, and apply the response-header controls in a reverse proxy that does not depend on normalization differences.

Impact analysis

AreaTechnically demonstrated by sourcesPlausible downstream consequences (not demonstrated)
ConfidentialityScored as no impact [1, 3]None established by sources
IntegrityScored as low impact [1, 3]; record describes missing headers on served files [1]Changed client-side handling of a response, depending on the missing header
AvailabilityScored as no impact [1, 3]None established
AuthenticationNot described as affected [1]None established
Authorization and privilege boundariesNot described as affected in the record [1]Not established by the reviewed sources
Data and privacyNot established by the reviewed sourcesDepends on the content of affected files
Business operationsNot established by the reviewed sourcesDepends on the application
Regulatory or contractual obligationsNot established by the reviewed sourcesOrganization-specific; must be assessed by the owner

Affected products and versions

Affected range (rack)Fixed versionSource and qualification
Below 2.2.252.2.25[1, 3]; lower bound not stated in either source
3.0 up to but excluding 3.1.233.1.23[1, 3]; no separate fixed release for the 3.0 line is listed in the pack
3.2 up to but excluding 3.2.83.2.8[1, 3]

Configuration-specific exposure: only applications using Rack::Static with path-specific header rules are described as affected [1]. The pack lists no known exclusions beyond this configuration condition.

The GitHub advisory and the CNA record agree on all three ranges and fixed versions [1, 3]. The 3.0 line has no separate fixed version in the pack, so organizations on the 3.0 line need the vendor's guidance; Not established by the reviewed sources whether a 3.0 release exists with the fix.

Exploitation and threat intelligence status

  • Confirmed exploitation in the wild: Not established by the reviewed sources.
  • CISA KEV: not listed as of 2026-11-12 [2]. The catalog's absence is not evidence that the CVE has not been exploited [2].
  • Public proof of concept: no proof-of-concept or exploit repository reference appears in the pack.
  • Threat actors, campaigns, sectors: Not established by the reviewed sources.
  • EPSS: 0.0025 (0.25%) probability of exploitation activity in the next 30 days, percentile 0.1656, dated 2026-11-10 [4]. EPSS is a statistical estimate, not evidence of exploitation [4].
  • Theoretical exploitability: the record's vector indicates network reachability with no authentication [1, 3].

The absence of public evidence in the pack does not prove that exploitation has not occurred.

Indicators of compromise

No indicators of compromise are given by the reviewed sources: no file hashes, domains, IP addresses, URLs, user agents or log events are provided [1, 2, 3, 4]. Not established by the reviewed sources. Any indicator introduced later must be validated before blocking, because indicators go stale and may cause false positives.

Detection and exposure assessment

Step 1, inventory of Rack versions (standard Bundler tooling, read-only, not from a source): in each application root that uses Bundler, run grep -n rack Gemfile.lock. Expected output: lines naming the rack gem and its version. Limitation: this shows the locked version, not the version actually loaded at runtime. Verify runtime with bundle list, which should show the same rack version.

Step 2, configuration check (read-only, analyst suggestion): search the application source and configuration for Rack::Static usage and for header rule settings. The record writes the option as headerrules, but the Ruby option spelling may differ, so search for both the record's form and the actual option name used in your code. Expected output: file paths and line numbers where Rack::Static is configured. Limitation: a match confirms configuration exposure only.

Step 3, log review (analyst suggestion): in web server or application logs for applications that match Step 2, search request paths for encoded or raw dot segments directed at paths that have header rules. Expected result: lines with such requests. Limitation: a match indicates a request shape consistent with the record, not successful exploitation; a non-match proves nothing about absence of exploitation.

Step 4, authenticated scanning: use the organization's software composition or vulnerability scanner with Ruby gem coverage to compare the installed rack version against the fixed versions in this article. A version check is not proof of exploitability.

Immediate mitigation

MeasureWhat it protects againstLimitationOperational side effectsHow to verifyOrigin
Inventory applications using Rack::Static with path-specific header rulesUnknown exposureInventory onlyNoneDocumented inventory list reviewed by ownerAnalyst assessment based on the record's configuration condition [1]
Restrict public access to files that require their headersReduces the impact of served files without headersDoes not fix the flawSome legitimate access may be blockedTest that required files are still served through the intended pathAnalyst assessment
Enforce required security headers at a reverse proxy or gateway for sensitive pathsHeaders missing from Rack::Static responsesDepends on proxy configuration matching all path forms; the proxy must itself canonicalize consistentlyConfiguration effort; possible duplicate headersCompare headers on direct and proxied responses in an authorized test environmentAnalyst assessment
Block requests containing encoded or raw dot segments at a WAF or gatewayRequests shaped like the record's descriptionBypass by other encodings is possible; may break legitimate trafficPossible false positivesConfirm the rule fires on test requests in an authorized environmentAnalyst assessment; not from a source
Increase logging for requests to header-protected pathsEnables detection of attemptsDoes not preventLog volume and storageConfirm log entries appear for test requestsAnalyst assessment

Permanent remediation

Vendor-confirmed fix: upgrade the rack gem to 2.2.25 on the 2.x line, 3.1.23 on the 3.0 and 3.1 lines, or 3.2.8 on the 3.2 line [1, 3]. The fixed versions are published by the CNA and the GitHub advisory [1, 3].

Steps:

  1. Update the rack constraint in the Gemfile to the fixed version for the branch in use.
  2. Run bundle update rack in a development environment, then review the diff in Gemfile.lock.
  3. Run the application test suite, focusing on static file serving and header behaviour.
  4. Deploy to staging, then to production within a maintenance window.
  5. Verify the runtime version using bundle list.

Prerequisites and considerations: the sources do not state dependency requirements for the fixed versions or whether a process restart is required. Not established by the reviewed sources; confirm with the release notes for each version. Back up Gemfile and Gemfile.lock before changes. Rollback: restore the previous Gemfile and Gemfile.lock and redeploy (Analyst assessment, standard Bundler practice).

Configuration after updating: Not established by the reviewed sources. Recommended hardening (analyst assessment): keep path-specific header rules, but also verify headers at the proxy for sensitive paths.

Workarounds and compensating controls

No vendor-supported workaround is documented in the pack. Compensating controls such as those in the Immediate mitigation section reduce exposure but do not correct the canonicalization mismatch. Residual risk remains while the vulnerable version runs and while any path-specific header rule can be bypassed by a differently encoded request. A workaround is not equivalent to the permanent fix.

Validation and verification

  1. Confirm the installed rack version in each affected application with bundle list, and confirm it equals or exceeds the fixed version for its branch [1, 3].
  2. Confirm Gemfile.lock records the same fixed version.
  3. Confirm the Rack::Static configuration is unchanged except for intended edits, and that header rules still exist for sensitive paths.
  4. In an authorized test environment, request a header-protected file through its normal path and through an equivalent path form using encoded dot segments; confirm the same headers appear in both responses. Do not run this against production systems without authorization.
  5. Re-run the vulnerability scanner and record the result, noting that a clean scan is not proof of security.
  6. Review logs and service health after deployment for errors in static file serving.
  7. Confirm any compensating controls that remain in place are still active.
  8. Record evidence, owner, date and any exceptions, including applications still on the 3.0 line where no fixed release is listed in the pack.

Incident response

If exploitation is suspected: triage by identifying affected applications from the inventory, then scope by reviewing logs for requests with encoded or raw dot segments to header-protected paths. Contain by restricting access to affected files and applying the proxy-level headers described above. Preserve evidence by copying logs and configuration files before changes, and do not delete or overwrite them. Rotate credentials only if the evidence shows that a secret was exposed through a served file. Patch by upgrading to a fixed version. Recover and monitor the affected service after patching. Notification and reporting obligations depend on the organization and applicable law; they are not established by the reviewed sources. Follow the organization's incident response plan.

Security hardening and prevention

Secure development (analyst assessment): canonicalize request paths once, before any policy decision, and use the same canonical value for file lookup and header matching. Add regression tests that request header-protected files through equivalent path forms. Defence-in-depth (broader measure): set security headers at a trusted layer that serves all responses, not only through path-specific rules. Least privilege: serve only the directory that contains public files. Logging and monitoring: log normalized and raw paths for requests to header-protected paths. Patch management: track Rack advisories for all Ruby applications through the organization's dependency inventory.

Risk assessment

Technical severity: CVSS 3.1 base score 5.3 MEDIUM, with low integrity impact and no confidentiality or availability impact per the vector [1, 3]. The CVSS score does not describe an organization's risk.

Exposure and asset criticality: depends on whether internet-facing applications use Rack::Static with path-specific header rules, and on the sensitivity of the files they serve. Not established by the reviewed sources.

Exploit prerequisites and opportunity: low prerequisites in the vector (network, no authentication, no user interaction) [1, 3], but the application configuration condition is significant [1].

Evidence of exploitation: none in the pack; KEV not listed [2]; EPSS 0.0025 [4].

Recommended remediation priority (analyst assessment; not a numerical score): high for internet-facing applications using Rack::Static with header rules, because the vector requires no authentication and the fix is a dependency upgrade; moderate for internal applications with the same configuration; lower for applications without path-specific header rules [1].

Assumptions: the organization's own configuration and file sensitivity, which the pack does not establish.

Conclusion

The core flaw is that Rack::Static evaluates path-specific header rules against a path that is not canonicalized the same way as the served file, letting encoded or raw dot-segment requests receive files without their configured headers [1, 3]. Owners of Ruby applications using Rack::Static with path-specific header rules should act first: identify them, restrict exposure of header-dependent files, and upgrade rack to 2.2.25, 3.1.23 or 3.2.8 according to their branch [1, 3]. The fix should be verified by checking the installed version, confirming headers match across path forms in an authorized test, and reviewing logs. Evidence needed to close the issue includes the vendor's fixed-version guidance for the 3.0 line, the fix commits' contents, and the NVD analysis once completed [1].

Remediation checklist

  1. Inventory all Ruby applications that use Rack::Static and configure path-specific header rules, using grep on Gemfile.lock and code search; record owner and internet exposure [1].
  2. Restrict public access to header-dependent files on affected applications until upgraded, and verify access still works for intended users (Analyst assessment).
  3. Upgrade rack to 2.2.25 on the 2.x line, 3.1.23 on the 3.0 and 3.1 lines, or 3.2.8 on the 3.2 line, via the Gemfile and bundle update rack [1, 3].
  4. For applications on the 3.0 line, obtain vendor guidance on the fixed version, because no separate 3.0 fix is listed in the pack [1, 3].
  5. Verify the runtime version with bundle list in each application after deployment [1, 3].
  6. Test in an authorized environment that headers match for a header-protected file requested through its normal path and through an encoded dot-segment path form (Analyst assessment).
  7. Enforce required security headers at a reverse proxy for sensitive paths as a compensating control until patched; verify on direct and proxied responses (Analyst assessment).
  8. Enable logging of raw and normalized paths for header-protected routes and review for encoded dot-segment requests (Analyst assessment).
  9. Re-run the organization's dependency scanner and record results, noting a clean result is not proof of security [1].
  10. Record evidence, owner, date and exceptions for each application, and close exceptions only after verification.

Evidence gaps

  • Fixed version for the rack 3.0 line: the CNA record and GitHub advisory give a range covering 3.0 with a fix at 3.1.23, but no separate 3.0 release is named; the vendor's release notes or advisory should confirm the upgrade path [1, 3].
  • Lower bound of the rack 2.x affected range: sources state only below 2.2.25; the vendor advisory or release history should establish the earliest affected version [1, 3].
  • Root cause in code: the three referenced commits are listed but their contents are not in the pack; the exact code change would settle the function-level defect [1].
  • Full GitHub advisory text: the pack gives facts only; the complete advisory would confirm any additional remediation or configuration guidance [3].
  • NVD analysis: the record status is Received; completed analysis may add CPE configurations or revised scoring [1].
  • Exploitation evidence: no in-the-wild exploitation, proof of concept or threat actor reporting appears in the pack; KEV absence is not proof of non-exploitation [2, 4].
  • Indicators of compromise: none given by any source; detection patterns in this article are analyst suggestions only [1, 2, 3, 4].
  • Impact on specific applications: sensitivity of files and whether missing headers enable concrete attacks are not established by the reviewed sources [1].
  • Restart or reload requirement after upgrade: not documented in the pack [1, 3].

References

  1. CVE-2026-125110 record. NIST National Vulnerability Database (NVD), 2026-11-09. https://nvd.nist.gov/vuln/detail/CVE-2026-125110. Accessed 2026-11-12. CVE identity, record status and dates, official description of the flaw and affected conditions, CVSS 3.1 score and vector, CWE-180 mapping, CNA affected and fixed ranges, and referenced commits and advisory.
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-12. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-12. CISA KEV status: CVE-2026-125110 not listed as of 2026-11-12, and the note that absence is not evidence of non-exploitation.
  3. GHSA-wvg4-6p58-3gh3. GitHub Security Advisory Database, 2026-11-10. https://github.com/advisories/GHSA-wvg4-6p58-3gh3. Accessed 2026-11-12. GitHub advisory GHSA-wvg4-6p58-3gh3: matching CVSS 3.1 score and vector, CWE-180 name, and per-branch affected and fixed ranges for rack.
  4. EPSS score for CVE-2026-125110. FIRST, 2026-11-10. https://api.first.org/data/v1/epss?cve=CVE-2026-125110. Accessed 2026-11-12. FIRST EPSS estimate of 0.0025 with percentile 0.1656, dated 2026-11-10, and its statement that EPSS is not evidence of exploitation.

Written with AI assistance from the 4 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Summary

Rack is a modular Ruby web server interface. Prior to 2.2.25, 3.1.23, and 3.2.8, Rack::Static serves a path after Utils.clean_path_info normalization but evaluates header_rules against a path that is only URL-decoded. An unauthenticated attacker can request a known file through raw or percent-encoded dot segments and receive it without path-specific security headers such as Content-Disposition or Content-Security-Policy. Applications that do not use path-specific header_rules are not affected. This issue is fixed in versions 2.2.25, 3.1.23, and 3.2.8.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 5.3 CVSS 3.1 base score from the CNA (github.com)

An attacker without an account can exploit this over the network, without any user action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Login needed
no
User action needed
no
Scope
stays within the vulnerable component
Impact
low on integrity, none on confidentiality and availability

Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Weakness

  • CWE-180: Incorrect Behavior Order: Validate Before Canonicalize

Affected and fixed versions

ProductAffected versionsFixed in
rack (RubyGems)< 2.2.252.2.25
≥ 3.0.0, < 3.1.233.1.23
≥ 3.2.0, < 3.2.83.2.8
rack< 2.2.25, >= 3.0, < 3.1.23, >= 3.2, < 3.2.8—

From the GitHub Advisory Database and the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Other references

Details from NVD (public domain), the GitHub Advisory Database (CC BY 4.0).

Affected

  • rack

Frequently asked questions

What is CVE-2026-125110?

CVE-2026-125110 is a path-handling flaw in the Rack Ruby web server interface, where Rack::Static evaluates path-specific header rules against a differently normalized path than the one it serves. The NVD record carries CVSS 3.1 base score 5.3 (MEDIUM) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N, and GitHub's advisory reports the same score and vector. Weakness type: Incorrect Behavior Order: Validate Before Canonicalize (CWE-180).

How severe is CVE-2026-125110?

CVE-2026-125110 has a CVSS 3.1 base score of 5.3 (medium), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action.

Is CVE-2026-125110 being exploited?

Not as far as is known: CVE-2026-125110 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.4% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-125110?

rack (RubyGems) < 2.2.25 (fixed in 2.2.25); rack (RubyGems) ≥ 3.0.0, < 3.1.23 (fixed in 3.1.23); rack (RubyGems) ≥ 3.2.0, < 3.2.8 (fixed in 3.2.8); rack < 2.2.25, >= 3.0, < 3.1.23, >= 3.2, < 3.2.8.

How do I fix CVE-2026-125110?

Inventory all Ruby applications that use Rack::Static and configure path-specific header rules, using grep on Gemfile.lock and code search; record owner and internet exposure. Restrict public access to header-dependent files on affected applications until upgraded, and verify access still works for intended users (Analyst assessment). Upgrade rack to 2.2.25 on the 2.x line, 3.1.23 on the 3.0 and 3.1 lines, or 3.2.8 on the 3.2 line, via the Gemfile and bundle update rack.

Timeline & sources

References

Related vulnerabilities & news