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

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-19T21:30:51.975Z
- Modified: 2026-10-26T10:10:00.140Z
- Also known as: GHSA-8mq9-5fw2-5rm4
- Weaknesses: CWE-639, CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- tinacms tinacms: < 23.0.4
- tinacms next-tinacms-s3: < 23.0.4
- tinacms next-tinacms-dos: < 23.0.4
- tinacms next-tinacms-azure: < 14.0.4
- tinacms next-tinacms-cloudinary: < 26.0.4
- next-tinacms-s3 (npm): before 23.0.4
- next-tinacms-dos (npm): before 23.0.4
- next-tinacms-azure (npm): before 14.0.4
- next-tinacms-cloudinary (npm): before 26.0.4

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`

## References

- <https://github.com/tinacms/tinacms/security/advisories/GHSA-8mq9-5fw2-5rm4> (exploit, web)
- <https://github.com/tinacms/tinacms/pull/7088> (web)
- <https://github.com/tinacms/tinacms/commit/d44558e9b4502d4f4fc2c970d22985339fe2b6ce> (web)
- <https://github.com/tinacms/tinacms/releases/tag/next-tinacms-s3@23.0.4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59992> (advisory)
- <https://github.com/tinacms/tinacms> (package)

## Sources

- CVE List: [CVE-2026-59992](https://www.cve.org/CVERecord?id=CVE-2026-59992), CVE Terms of Use, modified 2026-08-21
- GitHub Advisory Database: [GHSA-8mq9-5fw2-5rm4](https://github.com/advisories/GHSA-8mq9-5fw2-5rm4), CC-BY-4.0, modified 2026-08-21
- NVD: [CVE-2026-59992](https://nvd.nist.gov/vuln/detail/CVE-2026-59992), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-59992 · Whole record: https://cve.day/CVE-2026-59992.json · Rebuilt by cve.day 2026-11-25T22:59:34.245Z
