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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | redmine | 3.4.4-1 | — |
| Debian 13 | redmine | 3.4.4-1 | — |
| Debian 12 | redmine | 3.4.4-1 | — |
| Debian 9 | redmine | 3.3.1-4+deb9u1 | DSA-4191-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | redmine | No fix yet | — |
Advisories 1
- DSA-4191-1 redmine - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://www.redmine.org/issues/27516
- https://github.com/redmine/redmine/commit/58ed8655136ff2fe5ff7796859bf6a399c76c678
- DSA-4191 vendor-advisory
- https://www.redmine.org/projects/redmine/wiki/Security_Advisories
- https://github.com/redmine/redmine/commit/ca87bf766cdc70179cb2dce03015d78ec9c13ebd
- https://github.com/redmine/redmine/commit/9d797400eaec5f9fa7ba9507c82d9c18cb91d02e