oxyno-zeta/s3-proxy: Security Issues in Resource Path Matching
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-863.
Summary
oxyno-zeta/s3-proxy is an aws s3 proxy written in go. Prior to 5.0.0, s3-proxy contains an authentication bypass caused by inconsistent URL path interpretation between the authentication middleware and the bucket handler. The authentication middleware evaluates resource path patterns against the percent-encoded request URI (r.URL.RequestURI()), while the bucket handler constructs S3 object keys from the decoded path (r.URL.Path). This mismatch, combined with the glob library being invoked without a path separator (causing * to match across / boundaries), allows unauthenticated attackers to write to, read from, or delete objects in protected S3 namespaces. Exploitation is possible via three techniques: (1) using * patterns that match across path separators to reach protected routes via path traversal (e.g., /open/foo/drafts/../restricted/), (2) using percent-encoded slashes (%2F) to collapse multiple path segments into a single token at the auth layer while the decoded form resolves to a protected namespace at the storage layer, and (3) using dot-dot segments (../) under ** prefix patterns, where the raw path matches an open route while Go's URL parser resolves the traversal to a protected path before the bucket handler runs. An unauthenticated attacker with network access can perform unauthorized PUT, GET, or DELETE operations on objects in authentication-protected S3 namespaces. This vulnerability is fixed in 5.0.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| oxyno-zeta | s3-proxy | before 5.0.0 | 5.0.0 | Patch available | CNA |
| — | github.com/oxyno-zeta/s3-proxy (Go) | before 0.0.0-20260424211602-1320e4abd46a | 0.0.0-20260424211602-1320e4abd46a | Patch available | GHSA-rfgq-wgg8-662p |
- s3-proxy Vendoroxyno-zeta Affected before 5.0.0 Fixed in 5.0.0 Patch available CNA
- github.com/oxyno-zeta/s3-proxy (Go) Vendor— Affected before 0.0.0-20260424211602-1320e4abd46a Fixed in 0.0.0-20260424211602-1320e4abd46a Patch available GHSA-rfgq-wgg8-662p
Remediation
- Fix · CNA s3-proxy (oxyno-zeta) Fixed in 5.0.0
- Fix · GHSA-rfgq-wgg8-662p github.com/oxyno-zeta/s3-proxy (Go) Fixed in 0.0.0-20260424211602-1320e4abd46a Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-42882
- 2026-10-03 Alias added: GHSA-rfgq-wgg8-662p
- 2026-10-25 EPSS moved to the below the 50th percentile
References
More oxyno-zeta vulnerabilities
- TI-2022-16435 Arbitrary code execution via function parsing in react-editable-json-tree CVSS 3.1CRITICAL 10.0
- TI-2025-19958 Reflected Cross-site Scripting (XSS) in template implementation in oxyno-zeta/s3-proxy CVSS 4.0HIGH 8.4
Sources
- CVE-2026-42882 · CVE Program
- CVE-2026-42882 · NVD
- FIRST EPSS
- GHSA-rfgq-wgg8-662p · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences