CVE-2026-125108 — rack
One of 4 rack vulnerabilities published together by NVD.
RubyWebNetwork devicesVulnerabilitiesResearch article
Rack multipart boundary interpretation flaw (CVE-2026-125108) can evade proxy and WAF inspection
| CVE | CVE-2026-125108 |
|---|---|
| Vendor and product | rack |
| Published | November 12, 2026 07:21 UTC |
| Research cut-off | November 12, 2026 07:12 UTC |
| Sources reviewed | 4: NVD record (last modified 2026-11-09); CISA KEV catalog; GitHub advisory (2026-11-10); FIRST EPSS (2026-11-10) |
Executive summary
CVE-2026-125108 is a weakness in the Rack Ruby web interface library in which Rack::Multipart::Parser.parseboundary can pick a multipart boundary from a different Content-Type parameter than a standards-following intermediary would, so request bodies may be parsed differently by Rack than by an inspecting proxy or web application firewall [1]. The record is classified as CWE-436 (Interpretation Conflict) [1, 3]. The NVD record carries CVSS 3.1 base score 3.7 (Low) with vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N, scored by GitHub and listed by NVD as a secondary score [1, 3]. The vendor-published affected ranges are below 2.2.25, from 3.0 up to but not including 3.1.23, and from 3.2 up to but not including 3.2.8, with fixes in 2.2.25, 3.1.23 and 3.2.8 [1, 3]. Exploitation requires no privileges or user interaction, but the attack only matters where an inspection device sits in front of a Rack application and the two components disagree on the boundary, which the reviewed sources do not describe for any specific deployment [1, 3]. The CVE is not listed in the CISA KEV catalog as of 2026-11-12 [2], its FIRST EPSS estimate is 0.0024 (0.24%) with percentile 0.1518 as of 2026-11-10 [4], and no confirmed in-the-wild exploitation or public proof of concept is established by the reviewed sources [1, 2, 4]. The most important immediate action is to inventory every rack gem in use and upgrade to 2.2.25, 3.1.23 or 3.2.8 on the matching branch, and until then to ensure Rack applications accept traffic only from the inspecting proxy [1, 3].
Key points
- CVE-2026-125108 affects the rack Ruby library: it can select a multipart boundary differently from a standards-following inspecting proxy or WAF, so request content may bypass inspection [1, 3].
- Vendor-published fixes are rack 2.2.25, 3.1.23 and 3.2.8 for their respective branches, with affected ranges below each fix on the matching line [1, 3].
- CVSS 3.1 base score is 3.7 (Low) with vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N; the record is CWE-436 [1, 3].
- Not listed in CISA KEV as of 2026-11-12, EPSS is 0.0024 (percentile 0.1518) as of 2026-11-10, and no confirmed exploitation or public proof of concept is established by the reviewed sources [1, 2, 4].
- The most important immediate action is to inventory rack versions and upgrade, while limiting direct access to Rack servers so traffic passes through the inspecting device (Analyst assessment) [1, 3].
Vulnerability identification
| Field | Value | Source |
|---|---|---|
| CVE ID | CVE-2026-125108 | [1] |
| Vendor / project | Rack project; the record's references point to the rack GitHub repository | [1] |
| Product and component | rack, Rack::Multipart::Parser, method parseboundary | [1] |
| Affected platform | Ruby applications using the rack library; the record does not list operating systems or deployment types | [1] |
| Published | 2026-11-09T22:18:41 (NVD) | [1] |
| Last modified | 2026-11-09T22:18:41 | [1] |
| Record status | Received, as shown in the NVD record in the pack | [1] |
| CWE | CWE-436, Interpretation Conflict | [1, 3] |
| CVSS 3.1 (NVD listing) | 3.7 Low; vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N; scorer security-advisories@github.com, secondary | [1] |
| CVSS 3.1 (GitHub advisory) | 3.7; same vector; scorer GitHub | [3] |
| Advisory | GHSA-p8x9-v4hv-2w4g, published 2026-11-10T19:26:28, updated 2026-11-10T19:26:30 | [1, 3] |
| Patch and release identifiers | Commits 19a1a19cb4da97d61c8d5effeb2e927c44370ae9, a29512324265790a5536b830490075d0d79323be and d5e928b803da30b8e40171dbd4be39bed7daa6fa; release tags v2.2.25, v3.1.23 and v3.2.8 | [1] |
| Related CVEs | None identified in the reviewed sources | [1, 3] |
The NVD record shows a CVSS 3.1 score from the secondary scorer but no NVD-assigned score, and its status is Received, which suggests NVD analysis may still be in progress [1]. The CWE mapping is present in both NVD and the GitHub advisory and agrees between them [1, 3]. The CVSS score and vector agree between NVD and GitHub, so the sources do not conflict on severity [1, 3].
Technical background
Rack is a Ruby library that defines a common interface between Ruby web servers and Ruby web applications and frameworks [1]. Frameworks built on Rack inherit its request handling, including its parsing of request bodies [1]. Multipart is an HTTP request body format, defined for form submissions and file uploads, in which the body is split into parts separated by a delimiter string called the boundary [1]. The boundary is declared in the Content-Type header of the request, in a parameter of the multipart media type [1]. A parser must derive the same boundary that the sender used to split the body correctly.
Rack::Multipart::Parser.parseboundary is the Rack routine that reads that Content-Type value and extracts the boundary [1]. Header parameters are a semicolon-separated list of name and value pairs, and values may be quoted [1]. Where multiple parameters appear, the choice of which one supplies the boundary depends on the parser's rules.
A trust boundary exists between the network-facing component (a reverse proxy, load balancer or web application firewall, abbreviated WAF) and the application server [1, 3]. Inspection devices in that position parse multipart bodies to examine form fields and uploads, and they must agree with the application on where each part begins and ends [1]. The record's description implies that such a device is a common part of the deployment that would be affected, but the sources do not describe a specific product or configuration [1].
Vulnerability description
According to the CVE record, Rack's boundary extraction can skip an initial parameter with an empty or quoted value and accept a later parameter as the boundary [1]. The result is a parse of the request body using a boundary that a standards-conforming intermediary would not compute for the same header [1]. The record states that form fields and file uploads can then reach the application without the intended inspection by a proxy or WAF [1].
The security property affected is integrity of inspection: the assumption that an inspecting component and the application analyse the same bytes as the same logical request [1, 3]. The vector assigns low integrity impact and no confidentiality or availability impact [1, 3]. The vector does not establish that data is read or changed in any specific application [1, 3].
What the sources do not establish: whether any real proxy or WAF product derives the boundary differently in a way that makes the bypass work; whether an application's own validation would reject the body; and whether a successful request leads to any data access or state change beyond the bypass of inspection [1, 3]. The record also does not show a demonstrated exploit or a measured bypass [1].
Root cause analysis
Confirmed: the record identifies the flaw as a parsing problem in Rack::Multipart::Parser.parseboundary, in which the boundary is taken from a parameter that a conforming intermediary would not select [1]. The weakness class is CWE-436, Interpretation Conflict, which describes two components interpreting the same input differently [1, 3].
Analyst assessment: the underlying defect appears to be that the boundary-selection logic continues past an empty or quoted first parameter instead of treating the header as the standard requires, so the parser's rule for picking the boundary differs from the rule used by a standards-following intermediary [1]. This is inferred from the record's description and the CWE classification, not from the code.
Not established by the reviewed sources: the exact code change in the three fix commits, the precise parameter-handling rule before and after the fix, and why the existing test coverage did not catch the difference [1]. The commits are listed as references, but their contents are not in the pack [1]. The reviewed sources also do not state why the issue was not caught by earlier reviews.
Technical mechanics
The following numbered flow is an Illustrative description of the mechanism as the record describes it. It is not a verified trace of the Rack code.
- A client sends a POST request with a multipart Content-Type header that includes several parameters, one of which is the boundary, and the first parameter has an empty or quoted value [1]. (Illustrative)
- An inspecting proxy or WAF reads the header using the standard rule for locating the boundary and splits the body accordingly [1]. (Illustrative)
- Rack's parseboundary routine skips the first parameter and selects a later one as the boundary [1].
- Rack splits the same body using the later delimiter, so the parts it produces differ from the parts the inspecting device examined [1, 3]. (Illustrative)
- Form fields and uploads in the parts Rack produces reach the application without the inspection the device was meant to perform [1].
The security control that should have prevented the issue is consistent parsing of the same header by every component that reads it: the parser should derive the boundary exactly as the multipart rules define, and any ambiguity should lead to rejection rather than to a silent choice [1, 3]. This is an Analyst assessment of the expected control, not a source statement.
Preconditions: an inspecting component must sit in front of a Rack application that accepts the crafted header, and the two must differ in boundary selection [1]. Environmental dependencies such as the proxy product and version are not established by the reviewed sources [1].
Attack surface and exploitation prerequisites
| Factor | Assessment | Basis |
|---|---|---|
| Network access | Network-reachable (AV:N) | Vector only [1, 3] |
| Adjacent network, local or physical access | Not required by the vector; not described in the record | Vector only [1, 3] |
| Authentication | None required (PR:N) | Vector only [1, 3] |
| Privileges | None required | Vector only [1, 3] |
| User interaction | None required (UI:N) | Vector only [1, 3] |
| Attack complexity | High (AC:H); the record does not explain the complexity | Vector only [1, 3] |
| Scope | Unchanged (S:U) | Vector only [1, 3] |
| Required configuration | An inspecting proxy or WAF in front of a Rack application, with the two parsing the boundary differently | Analyst assessment based on the record description [1] |
| Reachable interface | HTTP request bodies with multipart Content-Type headers | Record description [1] |
The network, authentication and interaction prerequisites come from the CVSS vector, not from a demonstrated exploit [1, 3]. The high complexity rating is taken from the vector and the reviewed sources do not explain what makes the attack complex [1, 3]. The need for an inspecting device is taken from the record's description of the impact and is not confirmed for any specific deployment [1]. Whether a request reaches an application that does not process multipart bodies, and whether a given framework or server calls parseboundary on every path, is not established by the reviewed sources [1].
Exploitation scenarios and attack lifecycle
Illustrative scenario: an external client targets a web application whose public endpoint is fronted by a WAF that inspects uploads. The client sends a multipart request whose header the WAF parses one way and the Rack application parses another, so the upload reaches the application without the WAF's inspection [1]. The consequence depends on what the application does with uploads and form fields, which the reviewed sources do not describe.
The lifecycle stages before this point, such as reconnaissance or identifying the WAF, are not documented in the pack and are not assessed here [1, 2, 4]. The record does not document a chain to data theft, persistence or lateral movement [1]. Such a chain would be hypothetical and is not described here.
Defensive opportunities: the parsing discrepancy can be prevented by upgrading Rack; it can be detected by reviewing inspection-device logs for multipart requests that the application handled but the device recorded as malformed or unparsed (Analyst assessment; no source gives this signature); and it can be contained by making the application accept traffic only from the inspecting device.
Impact analysis
| Area | Demonstrated by sources | Plausible consequence, not demonstrated |
|---|---|---|
| Confidentiality | Vector rates impact as none [1, 3] | Data exposure depends on what the application does with uploads; not established |
| Integrity | Vector rates impact as low [1, 3]; record says inspection can be bypassed [1] | Malicious content could be processed by the application; not established |
| Availability | Vector rates impact as none [1, 3] | None described in the record |
| Authentication and authorization | Not described in the record; no privilege requirement in the vector [1, 3] | Bypassing a WAF does not by itself grant access; Not established by the reviewed sources |
| Privilege boundary | Scope unchanged in the vector [1, 3] | Not established |
| Data and privacy | Not described in the record [1] | Depends on the application's data; not established |
| Business operations | Not described in the record [1] | Not established |
| Regulatory or contractual obligations | Not described in the record [1] | Depend on the organization and its data; not established |
The record describes the consequence as a bypass of inspection rather than direct compromise [1]. Any further impact must be established by the application owner from the application's own behaviour.
Affected products and versions
| Product or component | Affected range (CNA-published) | Fixed version | Platform | Source and qualification |
|---|---|---|---|---|
| rack (2.x branch) | Below 2.2.25 | 2.2.25 | Ruby applications; deployment types not listed | CNA record and GitHub advisory agree [1, 3] |
| rack (3.0 and 3.1 lines) | 3.0 or later, below 3.1.23 | 3.1.23 | Ruby applications | CNA record and GitHub advisory agree [1, 3]; no separate 3.0 fixed release is listed |
| rack (3.2 line) | 3.2 or later, below 3.2.8 | 3.2.8 | Ruby applications | CNA record and GitHub advisory agree [1, 3] |
The ranges above are the ones the CNA published and GitHub repeated [1, 3]. The reviewed sources do not state whether releases older than the 2.x line, or other branches, are affected, so the complete affected range is not established [1, 3]. The record does not list whether bundled, vendored or framework-pinned copies of rack are included [1].
Version-specific exposure: any deployment running a version below its listed fixed version on the same branch is within the published range [1, 3]. Frameworks or applications that pin a Rack version outside the listed ranges are not assessed by the reviewed sources [1, 3].
Exploitation and threat intelligence status
- Confirmed in-the-wild exploitation: Not established by the reviewed sources [1, 2, 4].
- CISA KEV: not listed as of 2026-11-12. The source notes this is not evidence that the CVE has not been exploited [2].
- EPSS: 0.0024 (0.24%) estimated probability of exploitation activity in the next 30 days, percentile 0.1518, as of 2026-11-10. The source states that EPSS is an estimate and not evidence of exploitation [4].
- Public proof of concept: The reference list contains only commits, release tags and the GitHub advisory, with no exploit reference [1]. No public proof of concept is established by the reviewed sources.
- Threat actors, campaigns and targeted sectors: Not established by the reviewed sources [1, 2, 3, 4].
The absence of a KEV listing or of public exploit references is not proof that exploitation has not occurred. The reviewed sources are dated 2026-11-09 to 2026-11-12 and are recent, so later reporting may exist [1, 2, 3, 4].
Indicators of compromise
No indicators of compromise are given by the reviewed sources. Not established by the reviewed sources: file hashes, domains, IP addresses, URLs, user agents, log events or request patterns linked to this CVE [1, 2, 3, 4]. No indicator has been invented here. Any future indicator must be validated against the organization's own telemetry before blocking, because indicators go stale quickly.
Detection and exposure assessment
Inventory: identify every Ruby project and deployed container or image that depends on rack. For each project, read the rack entry in Gemfile.lock, which is the standard Bundler lock file, and compare the locked version against the fixed versions in the affected-products table [1, 3]. A lock file records the intended version, not necessarily the version running in production, so the deployed artifact must also be checked.
Read-only version check: in the application environment, run bundle list and look for the rack line, or run gem list rack for the system Ruby. Expected output is a line naming the gem and its version. Limitations: a bundle or gem command shows the environment where it is run, not the running process, and vendored or copied rack code will not appear there [1, 3]. Confirm the version of the process that serves traffic, for example by checking the application's dependency manifest in the built image.
Configuration check: identify whether any inspecting proxy, load balancer or WAF sits in front of each Rack application. The reviewed sources do not describe any specific device [1]. Record the device product and version for each path.
Log review: examine inspection-device logs and application logs for multipart requests whose handling differs between layers, such as requests the application processed that the device logged as unparsed or malformed (Analyst assessment; no source provides a signature). Limitations: this review depends on what each device logs, and the reviewed sources provide no baseline.
Vendor or scanner guidance: the reviewed sources do not give a vendor detection script or scanner plugin for this CVE [1, 3]. A version check is not proof that the application can be bypassed.
Immediate mitigation
No vendor-listed workaround appears in the reviewed sources [1, 3]. The following measures are Analyst assessments that follow from the record's description and are not vendor-confirmed.
- Restrict direct access to Rack application servers so that only the inspecting proxy or WAF can reach them. This protects against the bypass of inspection by a request that never passes through the device [1]. Limitations: it does not fix the parser; it may break health checks or direct administration if not planned. Verify by testing connectivity from a client network outside the proxy and confirming the connection is refused at the firewall or security group, using the platform's own tooling. Side effects: operational dependencies on the direct path must be identified first.
- Increase logging on the inspecting device and on the application for multipart uploads, so that discrepancies can be investigated (Analyst assessment). Verify that log entries for multipart requests appear in the central log store.
- Temporarily restrict or disable upload endpoints that do not need to be public until the upgrade is complete (Analyst assessment). This reduces the exposed surface. Verify by confirming the endpoint returns the expected error from outside the trusted network. Side effects: user-facing feature loss.
Permanent remediation
The vendor-supported remediation is to upgrade rack to a fixed version on the matching branch: 2.2.25 for the 2.x line, 3.1.23 for the 3.0 and 3.1 lines, and 3.2.8 for the 3.2 line [1, 3]. The advisory identifier is GHSA-p8x9-v4hv-2w4g [1, 3]. Patch commits and release tags are listed in the record [1].
Steps: update the rack constraint in the Gemfile to the fixed version or a later one on the same branch, run bundle update rack so that Gemfile.lock records the new version, commit the updated lock file, and rebuild the deployable image or artifact [1, 3]. Bundle update is the standard Bundler command for changing a single gem; a conservative update limits changes to rack and its direct dependencies.
Upgrade prerequisites and rollback: the reviewed sources do not describe compatibility changes between the affected and fixed releases, or any required configuration change after updating [1, 3]. Keep the previous Gemfile.lock and image tag so that the change can be reverted. Restart or reload requirement: Not established by the reviewed sources. Because the library code is loaded into running processes, Analyst assessment is that the application processes must be restarted after the upgrade for the new code to load.
Vendor-confirmed fixes versus hardening: upgrading to the fixed versions is vendor-confirmed remediation [1, 3]. Restricting direct access and tightening inspection are recommended hardening and do not replace the upgrade.
Workarounds and compensating controls
The reviewed sources do not list a supported workaround [1, 3]. Compensating controls that reduce the risk of bypass while the upgrade is pending include restricting direct access to application servers, limiting upload endpoints, and monitoring for discrepancies between inspection and application handling (Analyst assessment). Their residual risk is that the parser defect remains, so any path that reaches the application without the inspecting device stays exploitable. A compensating control is not equivalent to the fix, because it depends on the topology staying correct and on the device's logs being reviewed.
Validation and verification
- Confirm the locked version: the Gemfile.lock entry for rack is 2.2.25 or later on the 2.x line, 3.1.23 or later on the 3.1 line, or 3.2.8 or later on the 3.2 line [1, 3].
- Confirm the running version: check the dependency manifest inside the deployed image or the running process's loaded gem list, and confirm it matches the locked version [1, 3].
- Confirm the topology: re-run the connectivity test from outside the trusted network and confirm the application accepts connections only from the inspecting device [1].
- Re-run the vulnerability scanner that reads Ruby dependency manifests, if one is licensed, and record the result. A clean scan does not prove that bypass is impossible.
- Review application and device logs for the period after the upgrade and confirm no new discrepancies appear.
- Record the evidence: asset identifier, owner, date, version observed, scanner output, exceptions and the approval for any exception. Do not test bypass against production systems; any authorized test should be run in a non-production environment with written approval.
Incident response
If exploitation is suspected: no source in the pack documents exploitation of this CVE [1, 2, 4]. If an investigation is opened for other reasons, the steps are as follows. Triage and scope by identifying each affected application and its version. Contain by restricting direct access as described above. Preserve evidence by copying inspection-device logs, application logs and the relevant Gemfile.lock and image digests before any change. Investigate logs for multipart requests that reached the application without a corresponding device record. Rotate credentials or secrets only where the evidence shows that they were exposed. Eradicate and recover by upgrading and redeploying. Notification or reporting obligations depend on the organization and the data involved, and are not established by the reviewed sources. Follow the organization's incident response plan and avoid destructive actions that could erase logs or images.
Security hardening and prevention
Specific to this flaw, the most effective long-term measure is to make every component in the request path derive the multipart boundary from the same rule and to reject ambiguous headers rather than choosing one silently (Analyst assessment). Add regression tests in Rack's test suite and in the inspecting device's test suite that submit header variants with empty or quoted leading parameters and check that both components agree; this is an Analyst recommendation and no source describes a test case.
Broader defence-in-depth measures, labelled as such: keep inspection and application parsing consistent by using the same parser library where possible; route all traffic through the inspecting device by network policy rather than by convention; keep dependency update pipelines current so that fixes reach production quickly; and log inspection-device decisions alongside application request logs.
Risk assessment
Technical severity: the CVSS 3.1 base score is 3.7 (Low) and the vector assigns low integrity impact only [1, 3]. Exposure: the risk depends on whether internet-facing Rack applications sit behind an inspecting device, which the reviewed sources do not establish for any organization [1]. Exploit prerequisites: no authentication or interaction is required, but attack complexity is rated high in the vector [1, 3]. Evidence of exploitation: none in the reviewed sources; the KEV listing is absent and EPSS is low at 0.0024 with percentile 0.1518 [2, 4]. Business impact: depends on what the application does with inspected content, not established [1]. Existing controls: any proxy or WAF in front of the application is itself affected by the parsing difference, so its protection cannot be relied on as a compensating control without verification (Analyst assessment).
Recommended priority, as an Analyst assessment: treat the upgrade as scheduled but prompt for internet-facing Rack applications that rely on an inspecting device for upload filtering, and as a routine dependency update for internal applications without such a device. This is not a numerical score and is not the CVSS score. The assumptions are that the environment matches the record's description and that the application accepts multipart uploads.
Conclusion
CVE-2026-125108 is a parsing-consistency flaw in Rack's multipart boundary selection, classified as CWE-436, that can allow request content to bypass an inspecting proxy or WAF [1, 3]. Owners of Ruby applications using rack, and of any inspection device in front of them, should act. The most urgent mitigation is to restrict direct access to Rack application servers so that all traffic passes through the inspecting device (Analyst assessment). The permanent fix is to upgrade rack to 2.2.25, 3.1.23 or 3.2.8 on the matching branch [1, 3]. The issue can be closed when the locked and running versions are verified, the topology is confirmed, and the logs for the post-upgrade period show no discrepancies, with the evidence recorded [1, 3]. Open questions remain on the complete affected range, the code-level root cause, and any real-world deployments that are affected [1, 3].
Remediation checklist
- Inventory every Ruby project and deployed image that depends on rack, reading the rack entry in Gemfile.lock and running bundle list in each environment, and record the version each one uses [1, 3].
- Identify every Rack application that sits behind a proxy, load balancer or WAF that inspects uploads, and record the inspecting product and version for each path (Analyst assessment; the reviewed sources do not name a device) [1].
- Restrict direct network access to Rack application servers so that only the inspecting device can reach them, and verify with a connectivity test from outside the trusted network that the connection is refused (Analyst assessment) [1].
- Upgrade rack on the 2.x line to 2.2.25 or later, on the 3.0 and 3.1 lines to 3.1.23 or later, and on the 3.2 line to 3.2.8 or later, using bundle update rack and committing the updated Gemfile.lock [1, 3].
- Rebuild and redeploy the application images, and restart application processes so the new library code loads (restart requirement is Analyst assessment; the reviewed sources do not state it) [1, 3].
- Confirm the running version in each deployed environment matches the locked version, and record the owner, date and evidence for each application [1, 3].
- Increase logging of multipart requests on the inspecting device and the application for at least the period after the upgrade, and review for requests the application processed that the device did not record (Analyst assessment; no source provides a signature) [1].
- Re-run a licensed dependency or vulnerability scanner that reads Ruby manifests against each application and record the result, noting that a clean result does not prove that bypass is impossible [1, 3].
- Track exceptions for any application that cannot be upgraded immediately, with a documented compensating control, an owner and a review date (Analyst assessment) [1, 3].
- Ask the vendors of any inspecting proxy or WAF in use whether their multipart parsing matches the Rack behaviour and whether they have published a fix (Analyst assessment; the reviewed sources do not cover them) [1].
Evidence gaps
- Code-level root cause: the contents of the three fix commits are not in the pack, so the exact parser change and the rule before and after the fix are not established; the commits would settle this [1].
- Complete affected range: the reviewed sources give ranges only for the 2.x, 3.0-3.1 and 3.2 lines and do not state whether older releases or other branches are affected; the vendor's full version list would settle this [1, 3].
- Inspecting products affected: no proxy, load balancer or WAF product or version is named as parsing the boundary differently; vendor advisories from those products would settle this [1].
- Restart or reload requirement after upgrading is not documented in the reviewed sources; the vendor release notes for 2.2.25, 3.1.23 and 3.2.8 would settle this [1, 3].
- NVD analysis: the record is in Received status and the pack shows no NVD-assigned CVSS score; the NVD record after analysis would settle this [1].
- Exploitation evidence: no confirmed in-the-wild exploitation, threat actor attribution or public proof of concept is in the pack; later KEV updates, vendor threat reporting or public exploit repositories would be needed [1, 2, 4].
- Indicators of compromise: none are given; an incident responder would need the vendor or a threat report to publish specific log patterns, which would then need validation against local telemetry [1, 2, 3, 4].
- Application impact: what a bypassed upload reaches in a given application is not established; the owners of each application would need to review their own upload handling.
References
- CVE-2026-125108 record. NIST National Vulnerability Database (NVD), 2026-11-09. https://nvd.nist.gov/vuln/detail/CVE-2026-125108. Accessed 2026-11-12.
- 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.
- GHSA-p8x9-v4hv-2w4g. GitHub Security Advisory Database, 2026-11-10. https://github.com/advisories/GHSA-p8x9-v4hv-2w4g. Accessed 2026-11-12.
- EPSS score for CVE-2026-125108. FIRST, 2026-11-10. https://api.first.org/data/v1/epss?cve=CVE-2026-125108. Accessed 2026-11-12.
Summary
Rack is a modular Ruby web server interface. Prior to 2.2.25, 3.1.23, and 3.2.8, Rack::Multipart::Parser.parse_boundary can skip a leading empty or quoted boundary parameter in a multipart Content-Type header and accept a later parameter. Rack can therefore parse a request body with a boundary that a conforming intermediary would not derive, allowing form fields or file uploads to reach an application without the intended proxy or web application firewall inspection. This issue is fixed in versions 2.2.25, 3.1.23, and 3.2.8.
Severity breakdown
Low · 3.7
An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- low on integrity, none on confidentiality and availability
Weakness
- CWE-436: Interpretation Conflict
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| rack (RubyGems) | < 2.2.25 | 2.2.25 |
| ≥ 3.0.0, < 3.1.23 | 3.1.23 | |
| ≥ 3.2.0, < 3.2.8 | 3.2.8 | |
| rack | < 2.2.25, >= 3.0, < 3.1.23, >= 3.2, < 3.2.8 | — |
References by type
Vendor advisories
Patches and fixed releases
- github.com/rack/rack/commit/19a1a19cb4da97d61c8d5effeb2e927c44370ae9
- github.com/rack/rack/commit/a29512324265790a5536b830490075d0d79323be
- github.com/rack/rack/commit/d5e928b803da30b8e40171dbd4be39bed7daa6fa
- github.com/rack/rack/releases/tag/v2.2.25
- github.com/rack/rack/releases/tag/v3.1.23
- github.com/rack/rack/releases/tag/v3.2.8
Other references
Affected
- rack
Frequently asked questions
What is CVE-2026-125108?
CVE-2026-125108 is a weakness in the Rack Ruby web interface library in which Rack::Multipart::Parser.parseboundary can pick a multipart boundary from a different Content-Type parameter than a standards-following intermediary would, so request bodies may be parsed differently by Rack than by an inspecting proxy or web application firewall. The record is classified as CWE-436 (Interpretation Conflict). Weakness type: Interpretation Conflict (CWE-436).
How severe is CVE-2026-125108?
CVE-2026-125108 has a CVSS 3.1 base score of 3.7 (low), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-125108 being exploited?
Not as far as is known: CVE-2026-125108 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026. EPSS estimates a 0.4% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-125108?
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-125108?
Inventory every Ruby project and deployed image that depends on rack, reading the rack entry in Gemfile.lock and running bundle list in each environment, and record the version each one uses. Identify every Rack application that sits behind a proxy, load balancer or WAF that inspects uploads, and record the inspecting product and version for each path (Analyst assessment; the reviewed sources do not name a device). Restrict direct network access to Rack application servers so that only the inspecting device can reach them, and verify with a connectivity test from outside the trusted network that the connection is refused (Analyst assessment).
Timeline & sources
References
Related vulnerabilities & news
- Ruby Security Flaws Enable Remote Code Execution
- CVE-2026-130001: Mustache for Ruby RCE Vulnerability
- CVE-2026-122006: Active Storage Vulnerability in Ruby on Rails
- msgpack-ruby JRuby decoder: header-declared sizes drive uncapped allocation and memory exhaustion (CVE-2026-126366)
- CVE-2026-126186: Rails Active Storage flaw can expose files or allow code execution via media processing