{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-59992","id":"CVE-2026-59992","title":"Tina: Broken Access Control: arbitrary bucket-key write/delete in `next-tinacms-s3` (and sibling production media adapters)","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, createMedi","descriptionLong":"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.","published":"2026-08-19T21:30:51.975Z","updated":"2026-10-28T02:31:01.538302799Z","reserved":"2026-07-07T19:41:00.005Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","rating":"medium","source":"github.com"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","rating":"medium","source":"GitHub"}],"rating":"medium","products":["tinacms","tinacms next-tinacms-s3","tinacms next-tinacms-dos","tinacms next-tinacms-azure","tinacms next-tinacms-cloudinary"],"affectedProducts":[{"vendor":"tinacms","product":"tinacms","defaultStatus":null,"versions":[{"version":"< 23.0.4","status":"affected"}],"platforms":[]},{"vendor":"tinacms","product":"next-tinacms-s3","defaultStatus":null,"versions":[{"version":"< 23.0.4","status":"affected"}],"platforms":[]},{"vendor":"tinacms","product":"next-tinacms-dos","defaultStatus":null,"versions":[{"version":"< 23.0.4","status":"affected"}],"platforms":[]},{"vendor":"tinacms","product":"next-tinacms-azure","defaultStatus":null,"versions":[{"version":"< 14.0.4","status":"affected"}],"platforms":[]},{"vendor":"tinacms","product":"next-tinacms-cloudinary","defaultStatus":null,"versions":[{"version":"< 26.0.4","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"next-tinacms-s3","purl":"pkg:npm/next-tinacms-s3","ranges":["<23.0.4"],"fixed":["23.0.4"],"advisory":"GHSA-8mq9-5fw2-5rm4"},{"ecosystem":"npm","name":"next-tinacms-dos","purl":"pkg:npm/next-tinacms-dos","ranges":["<23.0.4"],"fixed":["23.0.4"],"advisory":"GHSA-8mq9-5fw2-5rm4"},{"ecosystem":"npm","name":"next-tinacms-azure","purl":"pkg:npm/next-tinacms-azure","ranges":["<14.0.4"],"fixed":["14.0.4"],"advisory":"GHSA-8mq9-5fw2-5rm4"},{"ecosystem":"npm","name":"next-tinacms-cloudinary","purl":"pkg:npm/next-tinacms-cloudinary","ranges":["<26.0.4"],"fixed":["26.0.4"],"advisory":"GHSA-8mq9-5fw2-5rm4"}],"cwes":["CWE-639","CWE-862"],"aliases":["GHSA-8mq9-5fw2-5rm4"],"references":[{"url":"https://github.com/tinacms/tinacms/security/advisories/GHSA-8mq9-5fw2-5rm4","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/tinacms/tinacms/pull/7088","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/tinacms/tinacms/commit/d44558e9b4502d4f4fc2c970d22985339fe2b6ce","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/tinacms/tinacms/releases/tag/next-tinacms-s3@23.0.4","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59992.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59992","tags":["advisory"]},{"url":"https://github.com/tinacms/tinacms","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.0038,"epssPercentile":0.32707,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-59992","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59992","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-59992","ok":true,"note":"4 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-8mq9-5fw2-5rm4","ok":true,"note":"GHSA-8mq9-5fw2-5rm4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-59992","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}