CVE-2025-50974 Command injection in n/a

Medium 6.5 Published Updated

Unauthenticated attackers can execute arbitrary OS commands via the Calamaris log exporter CGI in IPFire.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-50974?

CVE-2025-50974 is a medium-severity command injection vulnerability in n/a, published on 26 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Calamaris log exporter CGI (/cgi-bin/logs.cgi/calamaris.dat) in IPFire 2.29 does not properly sanitize user-supplied input before incorporating parameter values into a shell command. An unauthenticated remote attacker can inject arbitrary OS commands by embedding shell metacharacters in any of the following parameters BYTE_UNIT, DAY_BEGIN, DAY_END, HIST_LEVEL, MONTH_BEGIN, MONTH_END, NUM_CONTENT, NUM_DOMAINS, NUM_HOSTS, NUM_URLS, PERF_INTERVAL, YEAR_BEGIN, YEAR_END.

Weakness: CWE-78

Which versions are affected by CVE-2025-50974?

It affects 1 product.

Products include Ipfire Ipfire.

How do I fix CVE-2025-50974?

No fix has been published for CVE-2025-50974 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-50974 being exploited?

There is no known exploitation of CVE-2025-50974 in the wild and no public exploit code.

Sources

Also known as GHSA-7vv6-89wm-5jxv.

Is CVE-2025-50974 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free