PyYAML FullLoader python/object/new RCE
FullLoader was meant to be the safe loader, but its object constructor sets instance state from the document with no key check and then calls the instance's extend(), letting a crafted document plant a callable attribute and invoke it for code execution.
- Product
- PyYAML
- Vendor
- PyYAML (yaml/pyyaml)
- Affected
- 5.1 through 5.3 (all versions before 5.3.1 that ship FullLoader)
- Fixed in
- 5.3.1
- Weakness
- CWE-502
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 24 Mar 2020
Classified as
References
Related CVEs
- CVE-2025-55182critical 10.02025
React2Shell unsafe Flight reference resolution
React Server Components followed attacker-selected object paths through inherited properties while decoding Flight payloads, enabling pre-authentication remote code execution.
- CVE-2023-46604critical 9.82023
Apache ActiveMQ OpenWire reflective class instantiation RCE
The OpenWire protocol marshaller rebuilds an exception by reflectively instantiating an attacker-named class with an attacker-supplied string, so a crafted frame can construct a gadget class and run code on the broker.
- CVE-2023-26360critical 9.82023
Adobe ColdFusion _cfclient deserialization to file load
A request flag turns on a typed-reconstruction path where a deserialized _metadata.classname names a file the server resolves and compiles with no confinement, giving unauthenticated file read and code execution.
- CVE-2023-0669high 7.22023
GoAnywhere MFT license-servlet deserialization RCE
A license-response servlet decodes and decrypts a request parameter, then deserializes the result with ObjectInputStream, so an attacker-supplied object graph executes code during readObject.