Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2007-4174: Tor before 0.1.2.16, when ControlPort is enabled, does not properly restrict commands to localhost port 9051,

49
This month
MEDIUM 5.8UPGRADE

CVE-2007-4174 is a medium-severity flaw (CVSS 5.8) affecting tor. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

Tor before 0.1.2.16, when ControlPort is enabled, does not properly restrict commands to localhost port 9051, which allows remote attackers to modify the torrc configuration file, compromise anonymity, and have other unspecified impact via HTTP POST data containing commands without valid authentication, as demonstrated by an HTML form (1) hosted on a web site or (2) injected by a Tor exit node.

Why this priority

  • EPSS top 6%: very likely to be exploited
  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score5.8 (Medium)
EPSS exploit chance6.2% (top 6%)
CISA exploited listNo
WeaknessCWE-264
Published2007-08-07
Last modified2026-06-16
Publisher (CNA): MITRE · Vendor: tor

Share: LinkedIn · X · Reddit

Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

tor tor UPGRADE
Affected: <= 0.1.2.15 · 0.1.2.1 alpha · 0.1.2.2 · 0.1.2.3 alpha · 0.1.2.4 · 0.1.2.5 · 0.1.2.5 alpha · 0.1.2.6 alpha
Fixed in: newer than 0.1.2.15
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy tor || rpm -q tor || tor --version
2. UPGRADE to newer than 0.1.2.15 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade tor
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade tor
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2007-4174?

tor: upgrade to newer than 0.1.2.15. Exact commands for each OS are on this page.

Is CVE-2007-4174 being exploited?

CVE-2007-4174 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2007-4174 affect?

CVE-2007-4174 affects tor. Severity is medium (CVSS 5.8). Tor before 0.1.2.16, when ControlPort is enabled, does not properly restrict commands to localhost port 9051, which allows remote attackers to modify the torrc configuration file, compromise anonymity, and have other unspecified impact via

How urgent is CVE-2007-4174?

Priority 49/100. EPSS top 6%: very likely to be exploited; Public exploit reference

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.