# CVE-2026-59992: Tina: Broken Access Control: arbitrary bucket-key write/delete in \`next-tinacms-s3\` (and sibling production media adapters)

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.4
- **CVSS:** 5.4 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.38% (percentile 24, 2026-11-26)
- **CWE:** CWE-639, CWE-862
- **Aliases:** GHSA-8mq9-5fw2-5rm4
- **Published:** 2026-08-19T21:30:51.975Z
- **Modified:** 2026-10-26T10:10:00.140Z

## Who should check

- Projects that depend on npm package next-tinacms-s3 (\< 23.0.4)
- Projects that depend on npm package next-tinacms-dos (\< 23.0.4)
- Projects that depend on npm package next-tinacms-azure (\< 14.0.4)
- Projects that depend on npm package next-tinacms-cloudinary (\< 26.0.4)
- Anyone running tinacms \< 23.0.4
- Anyone running next-tinacms-s3 \< 23.0.4
- Anyone running next-tinacms-dos \< 23.0.4
- Anyone running next-tinacms-azure \< 14.0.4

## Description

Tina is a headless content management system. Prior to next-tinacms-s3 23.0.4, next-tinacms-dos 23.0.4, next-tinacms-azure 14.0.4, and next-tinacms-cloudinary 26.0.4, the first-party production media adapters pass attacker-controlled object keys to storage SDK upload and delete operations without enforcing the operator's configured mediaRoot. In packages/next-tinacms-s3/src/handlers.ts, createMediaHandler accepts req.query.key for a signed PutObject URL and the DELETE path uses req.query.media as the DeleteObjectCommand key. The same missing key-boundary check exists in packages/next-tinacms-dos/src/handlers.ts, packages/next-tinacms-azure/src/handlers.ts, and packages/next-tinacms-cloudinary/src/handlers.ts. An authenticated CMS editor can therefore create or delete objects anywhere the deployment's storage credential can reach, including other tenants' or non-media objects. These issues are fixed in next-tinacms-s3 23.0.4, next-tinacms-dos 23.0.4, next-tinacms-azure 14.0.4, and next-tinacms-cloudinary 26.0.4.

## Affected and fixed versions

- npm `next-tinacms-s3`: affected \< 23.0.4; fixed 23.0.4 (osv)
- npm `next-tinacms-dos`: affected \< 23.0.4; fixed 23.0.4 (osv)
- npm `next-tinacms-azure`: affected \< 14.0.4; fixed 14.0.4 (osv)
- npm `next-tinacms-cloudinary`: affected \< 26.0.4; fixed 26.0.4 (osv)
- tinacms: \< 23.0.4 (cvelist)
- next-tinacms-s3: \< 23.0.4 (cvelist)
- next-tinacms-dos: \< 23.0.4 (cvelist)
- next-tinacms-azure: \< 14.0.4 (cvelist)
- next-tinacms-cloudinary: \< 26.0.4 (cvelist)

## Mitigation

- Upgrade next-tinacms-s3 to 23.0.4 or later.
- Upgrade next-tinacms-dos to 23.0.4 or later.
- Upgrade next-tinacms-azure to 14.0.4 or later.
- Upgrade next-tinacms-cloudinary to 26.0.4 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-59992.md
Affected: next-tinacms-s3 < 23.0.4; next-tinacms-dos < 23.0.4; next-tinacms-azure < 14.0.4; next-tinacms-cloudinary < 26.0.4
Fixed in: 23.0.4, 14.0.4, 26.0.4

Steps:
1. Search this machine and project for next-tinacms-s3 (npm), next-tinacms-dos (npm), next-tinacms-azure (npm), next-tinacms-cloudinary (npm), tinacms, next-tinacms-s3: 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.
```

## FAQ

### Is CVE-2026-59992 being exploited?

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

### How serious is CVE-2026-59992?

Medium: CVSS 5.4 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-59992?

next-tinacms-s3 \< 23.0.4; next-tinacms-dos \< 23.0.4; next-tinacms-azure \< 14.0.4; next-tinacms-cloudinary \< 26.0.4.

### Is there a fix for CVE-2026-59992?

Yes. Fixed in 23.0.4, 14.0.4, 26.0.4. Upgrade next-tinacms-s3 to 23.0.4 or later. Upgrade next-tinacms-dos to 23.0.4 or later. Upgrade next-tinacms-azure to 14.0.4 or later. Upgrade next-tinacms-cloudinary to 26.0.4 or later.

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

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.

## References

- vendor: <https://github.com/tinacms/tinacms/security/advisories/GHSA-8mq9-5fw2-5rm4>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-59992>
- patch: <https://github.com/tinacms/tinacms/pull/7088>
- patch: <https://github.com/tinacms/tinacms/commit/d44558e9b4502d4f4fc2c970d22985339fe2b6ce>
- other: <https://github.com/tinacms/tinacms/releases/tag/next-tinacms-s3@23.0.4>
- other: <https://github.com/tinacms/tinacms>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-59992>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-8mq9-5fw2-5rm4> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-59992> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-59992>
