Software Securityhome
Fix a findingSearch
Glossary

Cache poisoning

Getting a shared cache to store a harmful entry under a key that others later read (CAPEC-141): a web cache that serves a malicious response to other users, usually because an unkeyed input such as a header changed it, or a CI cache that later builds restore. Key every input that affects an entry, and never let untrusted jobs write to a cache that trusted ones read.

Also called
web cache poisoning

Covered in

Practice: Actions injection lab: Flag GitHub Actions expression injection · Local project: Repair a real proxy and shared cache

Find your next answer

Type to search. Search runs in your browser.

Searches run in your browser, but the host can infer them from the index files they load. The address shows your search so you can bookmark or share it.