CVE-2016-2785 · mitre
CVE-2016-2785
Puppet Server before 2.3.2 and Ruby puppetmaster in Puppet 4.x before 4.4.2 and in Puppet Agent before 1.4.2 might allow remote attackers to bypass intended auth.conf access restrictions by leveraging incorrect URL decoding.
Published 2016-06-10, last changed 2026-06-17. Weakness: CWE-284.
How to fix
Upgrade to a fixed version: puppet 4.4.2 (RubyGems). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in puppetlabs/puppet by 6592a81665. Functions changed by the fix: uri2indirection, compile, path. Regression tests: spec/unit/network/http/api/indirected_routes_spec.rb, spec/unit/indirector/catalog/compiler_spec.rb, spec/unit/network/http/rack/rest_spec.rb. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2016-06-10 | Published |
| 2022-05-13 | Package advisory GHSA-pqj5-7r86-64fv |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 2.89% |
| 2026-12-02 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-pqj5-7r86-64fv | puppet (RubyGems) | 4.4.2 |
Also known as: GHSA-pqj5-7r86-64fv
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2021-27025 | 2021-11-18 | 6.5 | same package: puppet (RubyGems) |
| CVE-2021-27023 | 2021-11-18 | 9.8 | same package: puppet (RubyGems) |
| CVE-2020-7942 | 2020-02-19 | 6.5 | same package: puppet (RubyGems) |
| CVE-2017-10689 | 2018-02-09 | 5.5 | same package: puppet (RubyGems) |
| CVE-2014-3248 | 2014-11-16 | 6.2 | same package: puppet (RubyGems) |
| CVE-2011-0528 | 2014-02-17 | 5.5 | same package: puppet (RubyGems) |
| CVE-2013-4761 | 2013-08-20 | 5.1 | same package: puppet (RubyGems) |
| CVE-2013-3567 | 2013-08-19 | 7.5 | same package: puppet (RubyGems) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2016-2785, or call /api/v1/vulnerabilities/CVE-2016-2785. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.