Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-42882

CRITICAL 9.4EPSS 50%

oxyno-zeta/s3-proxy: Security Issues in Resource Path Matching

Also known as GHSA-rfgq-wgg8-662p, GO-2026-5616

Mitigation

  • Upgrade github.com/oxyno-zeta/s3-proxy to 0.0.0-20260424211602-1320e4abd46a or later.

Who should check

  • Projects that depend on Go package github.com/oxyno-zeta/s3-proxy (< 0.0.0-20260424211602-1320e4abd46a)
  • Anyone running oxyno-zeta s3-proxy < 5.0.0

Vulnerability facts

Affected
github.com/oxyno-zeta/s3-proxy < 0.0.0-20260424211602-1320e4abd46a
Fixed in
0.0.0-20260424211602-1320e4abd46a
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
9.4 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: Low
EPSS
0.72% chance of exploitation in 30 days (percentile 50, 2026-11-26)
CWE
CWE-22, CWE-863
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/oxyno-zeta/s3-proxy< 0.0.0-20260424211602-1320e4abd46a0.0.0-20260424211602-1320e4abd46aosv
oxyno-zeta s3-proxy< 5.0.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-42882. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-42882.md
Affected: github.com/oxyno-zeta/s3-proxy < 0.0.0-20260424211602-1320e4abd46a
Fixed in: 0.0.0-20260424211602-1320e4abd46a

Steps:
1. Search this machine and project for github.com/oxyno-zeta/s3-proxy (Go), oxyno-zeta s3-proxy: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-42882 being exploited?

There is no confirmed exploitation: CVE-2026-42882 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.72% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-42882?

Critical: CVSS 9.4 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2026-42882?

github.com/oxyno-zeta/s3-proxy < 0.0.0-20260424211602-1320e4abd46a.

Is there a fix for CVE-2026-42882?

Yes. Fixed in 0.0.0-20260424211602-1320e4abd46a. Upgrade github.com/oxyno-zeta/s3-proxy to 0.0.0-20260424211602-1320e4abd46a or later.

How do I check if I'm affected by CVE-2026-42882?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors