{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-59992",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-07-07T19:41:00.005Z",
        "datePublished": "2026-08-19T21:30:51.975Z",
        "dateUpdated": "2026-08-19T21:32:09.476Z"
    },
    "containers": {
        "cna": {
            "title": "Tina: Broken Access Control: arbitrary bucket-key write/delete in `next-tinacms-s3` (and sibling production media adapters)",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-639",
                            "lang": "en",
                            "description": "CWE-639: Authorization Bypass Through User-Controlled Key",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-862",
                            "lang": "en",
                            "description": "CWE-862: Missing Authorization",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "LOW",
                        "baseScore": 5.4,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/tinacms/tinacms/security/advisories/GHSA-8mq9-5fw2-5rm4",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/tinacms/tinacms/security/advisories/GHSA-8mq9-5fw2-5rm4"
                },
                {
                    "name": "https://github.com/tinacms/tinacms/pull/7088",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/tinacms/tinacms/pull/7088"
                },
                {
                    "name": "https://github.com/tinacms/tinacms/commit/d44558e9b4502d4f4fc2c970d22985339fe2b6ce",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/tinacms/tinacms/commit/d44558e9b4502d4f4fc2c970d22985339fe2b6ce"
                },
                {
                    "name": "https://github.com/tinacms/tinacms/releases/tag/next-tinacms-s3@23.0.4",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/tinacms/tinacms/releases/tag/next-tinacms-s3@23.0.4"
                }
            ],
            "affected": [
                {
                    "vendor": "tinacms",
                    "product": "tinacms",
                    "versions": [
                        {
                            "version": "< 23.0.4",
                            "status": "affected"
                        }
                    ]
                },
                {
                    "vendor": "tinacms",
                    "product": "next-tinacms-s3",
                    "versions": [
                        {
                            "version": "< 23.0.4",
                            "status": "affected"
                        }
                    ]
                },
                {
                    "vendor": "tinacms",
                    "product": "next-tinacms-dos",
                    "versions": [
                        {
                            "version": "< 23.0.4",
                            "status": "affected"
                        }
                    ]
                },
                {
                    "vendor": "tinacms",
                    "product": "next-tinacms-azure",
                    "versions": [
                        {
                            "version": "< 14.0.4",
                            "status": "affected"
                        }
                    ]
                },
                {
                    "vendor": "tinacms",
                    "product": "next-tinacms-cloudinary",
                    "versions": [
                        {
                            "version": "< 26.0.4",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-08-19T21:32:09.476Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-8mq9-5fw2-5rm4",
                "discovery": "UNKNOWN"
            }
        }
    }
}