{"id":"PYSEC-2026-1494","summary":"Kinto Attachment's attachments can be replaced on read-only records","details":"### Impact\n\nThe attachment file of an existing record can be replaced if the user has `\"read\"` permission on one of the parent (collection or bucket).\n\nAnd if the `\"read\"` permission is given to `\"system.Everyone\"` on one of the parent, then the attachment can be replaced on a record using an anonymous request.\n\nNote that if the parent has no explicit read permission, then the records attachments are safe.\n\n### Patches\n\n- Patch released in kinto-attachment 6.4.0\n- https://github.com/Kinto/kinto-attachment/commit/f4a31484f5925cbc02b59ebd37554538ab826ca1\n\n### Workarounds\n\nNone if the read permission has to remain granted.\n\nUpdating to 6.4.0 or applying the patch individually (if updating is not feasible) is strongly recommended.\n\n### References\n\n- https://bugzilla.mozilla.org/show_bug.cgi?id=1879034","aliases":["CVE-2024-1314","GHSA-hvp4-vrv2-8wrq"],"modified":"2026-07-07T17:46:46.048191780Z","published":"2026-07-07T11:45:32.451178Z","references":[{"type":"WEB","url":"https://github.com/Kinto/kinto-attachment/security/advisories/GHSA-hvp4-vrv2-8wrq"},{"type":"FIX","url":"https://github.com/Kinto/kinto-attachment/commit/f4a31484f5925cbc02b59ebd37554538ab826ca1"},{"type":"WEB","url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1879034"},{"type":"PACKAGE","url":"https://github.com/Kinto/kinto-attachment"},{"type":"PACKAGE","url":"https://pypi.org/project/kinto-attachment"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-hvp4-vrv2-8wrq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1314"}],"affected":[{"package":{"name":"kinto-attachment","ecosystem":"PyPI","purl":"pkg:pypi/kinto-attachment"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.4.0"}]}],"versions":["0.1.0","0.1.0.dev0","0.2.0","0.3.0","0.4.0","0.5.0","0.5.0.dev0","0.5.1","0.6.0","0.7.0","0.7.1","0.8.0","1.0.0","1.0.1","1.1.0","1.1.1","1.1.2","2.0.0","2.0.1","2.1.0","3.0.0","3.0.1","4.0.0","5.0.0","6.0.0","6.0.1","6.0.2","6.0.3","6.0.4","6.1.0","6.2.0","6.3.0","6.3.1","6.3.2"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/kinto-attachment/PYSEC-2026-1494.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N"}]}