{"schemaVersion":3,"id":"CVE-2025-53513","aliases":["GHSA-24ch-w38v-xmh8","GO-2025-3804"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-07-08T16:57:06.351Z","modified":"2025-07-09T14:00:10.613Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00777,"percentile":0.54968,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0.11499999999999999,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00662},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00777,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00777,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00777,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00777,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00777,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00777,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00777,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00777,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00777,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00777,"percentile":0.54968}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00662,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00777,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00777,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00777,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00777,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00777,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00777,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00777,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00777,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00777,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00777,"percentile":0.54968}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_JUJU_JUJU","name":"Juju","source":"github","url":"https://github.com/juju/juju/security/advisories/GHSA-6vjm-54vp-mxhx","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-24","name":"Path Traversal: '../filedir'","description":"The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize \"../\" sequences that can resolve to a location that is outside of that directory.","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/24.html"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"canonical","product":"juju","name":"juju","label":"juju","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.0.0, < 2.9.52","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0, < 3.6.8","noFixRecorded":false,"fixedIn":null},{"text":"< 2.9.52","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0, < 3.6.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.0.0, < 2.9.52 | ≥ 3.0.0, < 3.6.8 | < 2.9.52 | ≥ 3.0, < 3.6.8","eol":null,"hubHref":"/vendor/canonical/juju"},{"vendor":"github.com/juju","product":"juju","name":"github.com/juju/juju","label":"juju","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/juju/juju","purlType":"golang","versions":[{"text":"< 0.0.0-20250619215741-6356e984b82a","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.0.0-20250619215741-6356e984b82a","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/juju/juju/security/advisories/GHSA-24ch-w38v-xmh8","label":"github.com/juju/juju/security/advisories/GHSA-24ch-w38v-xmh8","hostname":"github.com","tags":["WEB","Advisory","Exploit","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53513","label":"nvd.nist.gov/vuln/detail/CVE-2025-53513","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/juju/juju/commit/6356e984b82a4a7b9771ff5e51e297ad62f3b405","label":"github.com/juju/juju/commit/6356e984b82a4a7b9771ff5e51e297ad62f3b405","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/juju/juju/commit/ff39557a137c0e95d4cd3553b0f19c859c6f5d8e","label":"github.com/juju/juju/commit/ff39557a137c0e95d4cd3553b0f19c859c6f5d8e","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://drive.google.com/file/d/1pHRNiaA8LyMVJYwIyTqelsqJ9FmImDf0/view","label":"drive.google.com/file/d/1pHRNiaA8LyMVJYwIyTqelsqJ9FmImDf0/view","hostname":"drive.google.com","tags":["WEB"]},{"url":"https://github.com/juju/juju","label":"github.com/juju/juju","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/juju/juju/blob/3.6/apiserver/apiserver.go#L754","label":"github.com/juju/juju/blob/3.6/apiserver/apiserver.go","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/juju/juju/blob/3.6/apiserver/apiserver.go#L897","label":"github.com/juju/juju/blob/3.6/apiserver/apiserver.go","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/juju/juju/blob/3.6/apiserver/apiserver.go#L990","label":"github.com/juju/juju/blob/3.6/apiserver/apiserver.go","hostname":"github.com","tags":["WEB"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3804","label":"pkg.go.dev/vuln/GO-2025-3804","hostname":"pkg.go.dev","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2025:15405-1"],"duplicates":[],"related":["OPENSUSE-SU-2025:15405-1"]},"timeline":[{"kind":"published","date":"2025-07-08T16:57:06.351Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-07-09T14:00:10.613Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":45,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T10:55:45.650Z","stale":false,"partial":false}}