Description
s2k.js in OpenPGP.js will decrypt arbitrary messages regardless of passphrase for crafted PGP keys which allows remote attackers to bypass authentication if message decryption is used as an authentication mechanism via a crafted symmetrically encrypted PGP message.
Recommendation
Update the openpgp package to the latest compatible version. Followings are version details:
- Affected version(s): < 1.3.0
- Patched version(s): 1.3.0
References
Could your website be exposed too?
SmartScanner can check your website for OpenPGP 1.2.0 and earlier decrypts arbitrary messages and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Saltcorn has an Unauthenticated Path Traversal in sync endpoints, allowing arbitrary file write and directory read - CVE-2026-40163
- @babel/core: Arbitrary File Read via sourceMappingURL Comment - CVE-2026-49356
- LiquidJS: `renderFile()` / `parseFile()` bypass configured `root` and allow arbitrary file read - CVE-2026-39859
- Babel vulnerable to arbitrary code execution when compiling specifically crafted malicious code - CVE-2023-45133


