{"id":"CVE-2024-1314","aliases":["GHSA-hvp4-vrv2-8wrq","PYSEC-2026-1494"],"status":"published","title":"Kinto Attachment's attachments can be replaced on read-only records","description":"### 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","severity":{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","level":"high","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2024-02-08T18:32:10Z","modified":"2026-07-07T17:56:44Z","fixes":[{"ecosystem":"PyPI","package":"kinto-attachment","fixed_in":["6.4.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"kinto-attachment","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.3.2"},{"fixed":"6.4.0"}]}]},{"source":"osv","ecosystem":"PyPI","package":"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"]},{"source":"osv","ecosystem":"PyPI","package":"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"]}],"references":[{"url":"https://github.com/Kinto/kinto-attachment/security/advisories/GHSA-hvp4-vrv2-8wrq","tags":["web"]},{"url":"https://github.com/Kinto/kinto-attachment/commit/f4a31484f5925cbc02b59ebd37554538ab826ca1","tags":["web","fix"]},{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1879034","tags":["web"]},{"url":"https://github.com/advisories/GHSA-hvp4-vrv2-8wrq","tags":["advisory"]},{"url":"https://github.com/Kinto/kinto-attachment","tags":["package"]},{"url":"https://pypi.org/project/kinto-attachment","tags":["package"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1314","tags":["advisory"]}],"sources":{"ghsa":[{"id":"GHSA-hvp4-vrv2-8wrq","title":"Kinto Attachment's attachments can be replaced on read-only records","description":"### 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","status":"published","published":"2024-02-08T18:32:10Z","modified":"2024-02-08T18:32:13Z","cvss":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T14:37:36.777238Z"}],"osv":[{"id":"GHSA-hvp4-vrv2-8wrq","title":"Kinto Attachment's attachments can be replaced on read-only records","description":"### 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","status":"published","published":"2024-02-08T18:32:10Z","modified":"2026-07-07T17:56:44.775273807Z","cvss":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:46:49.621585Z"},{"id":"PYSEC-2026-1494","title":"Kinto Attachment's attachments can be replaced on read-only records","description":"### 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","status":"published","published":"2026-07-07T11:45:32.451178Z","modified":"2026-07-07T17:46:46.04819178Z","cvss":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:52:55.06457Z"}]}}
