What’s Vulnerable › Vulnerabilities
CVE-2017-18026
- Severity: high (CVSS 8.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-01-10 · updated 2026-06-17
Description
Redmine before 3.2.9, 3.3.x before 3.3.6, and 3.4.x before 3.4.4 does not block the --config and --debugger flags to the Mercurial hg program, which allows remote attackers to execute arbitrary commands (through the Mercurial adapter) via vectors involving a branch whose name begins with a --config= or --debugger= substring, a related issue to CVE-2017-17536.
Affected products
- Debian Linux: 9.0
- Redmine: before 3.2.9; from 3.3.0 before 3.3.6; from 3.4.0 before 3.4.4 — fixed in 3.2.9, 3.3.6, 3.4.4
How to fix
Upgrade to a fixed version: Redmine 3.2.9, 3.3.6, 3.4.4. Check the vendor advisory for mitigations.
References
- https://github.com/redmine/redmine/commit/58ed8655136ff2fe5ff7796859bf6a399c76c678
- https://github.com/redmine/redmine/commit/9d797400eaec5f9fa7ba9507c82d9c18cb91d02e
- https://github.com/redmine/redmine/commit/ca87bf766cdc70179cb2dce03015d78ec9c13ebd
- https://www.debian.org/security/2018/dsa-4191
- https://www.redmine.org/issues/27516
- https://www.redmine.org/projects/redmine/wiki/Security_Advisories
- https://github.com/redmine/redmine/commit/58ed8655136ff2fe5ff7796859bf6a399c76c678
- https://github.com/redmine/redmine/commit/9d797400eaec5f9fa7ba9507c82d9c18cb91d02e
- https://github.com/redmine/redmine/commit/ca87bf766cdc70179cb2dce03015d78ec9c13ebd
- https://www.debian.org/security/2018/dsa-4191
- https://www.redmine.org/issues/27516
- https://www.redmine.org/projects/redmine/wiki/Security_Advisories
Get alerted when CVE-2017-18026 or the next vulnerability affects your stack