Description
Awstats version 7.6 and earlier is vulnerable to a path traversal flaw in the handling of the "config" and "migrate" parameters resulting in unauthenticated remote code execution.
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 | awstats | 7.6+dfsg-2 | — |
| Debian 13 | awstats | 7.6+dfsg-2 | — |
| Debian 12 | awstats | 7.6+dfsg-2 | — |
| Debian 9 | awstats | 7.6+dfsg-1+deb9u1 | DSA-4092-1 |
| Debian 8 | awstats | 7.2+dfsg-1+deb8u1 | DSA-4092-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | awstats | 7.0~dfsg-7+deb7u1 | DLA-1238-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | awstats | 7.6+dfsg-2ubuntu0.20.04.1 | USN-4953-1 |
| Ubuntu 18.04 LTS | awstats | 7.6+dfsg-2ubuntu0.18.04.1 | USN-4953-1 |
| Ubuntu 16.04 LTS | awstats | 7.4+dfsg-1ubuntu0.2 | USN-3518-1 |
| Ubuntu 14.04 LTS | awstats | 7.2+dfsg-1ubuntu0.1 | USN-3518-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | awstats | 7.4+dfsg-1ubuntu0.4+esm1 | USN-4953-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | awstats | 7.6-r2 | — |
| Alpine v3.23 | awstats | 7.6-r2 | — |
| Alpine v3.22 | awstats | 7.6-r2 | — |
| Alpine v3.21 | awstats | 7.6-r2 | — |
| Alpine v3.20 | awstats | 7.6-r2 | — |
Show 16 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | awstats | 7.6-r2 | — |
| Alpine v3.18 | awstats | 7.6-r2 | — |
| Alpine v3.17 | awstats | 7.6-r2 | — |
| Alpine v3.16 | awstats | 7.6-r2 | — |
| Alpine v3.15 | awstats | 7.6-r2 | — |
| Alpine v3.14 | awstats | 7.6-r2 | — |
| Alpine v3.13 | awstats | 7.6-r2 | — |
| Alpine v3.12 | awstats | 7.6-r2 | — |
| Alpine v3.11 | awstats | 7.6-r2 | — |
| Alpine v3.10 | awstats | 7.6-r2 | — |
| Alpine v3.9 | awstats | 7.6-r2 | — |
| Alpine v3.8 | awstats | 7.6-r2 | — |
| Alpine v3.7 | awstats | 7.6-r2 | — |
| Alpine v3.6 | awstats | 7.6-r1 | — |
| Alpine v3.5 | awstats | 7.5-r2 | — |
| Alpine v3.4 | awstats | 7.5-r2 | — |
Advisories 4
- USN-4953-1 awstats vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- DSA-4092-1 awstats - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1238-1 awstats - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-3518-1 awstats vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
References
- DSA-4092 vendor-advisory
- [debian-lts-announce] 20180110 [SECURITY] [DLA 1238-1] awstats security update mailing-list
- https://github.com/eldy/awstats/commit/06c0ab29c1e5059d9e0279c6b64d573d619e1651
- http://www.awstats.org/
- https://github.com/eldy/awstats/commit/cf219843a74c951bf5986f3a7fffa3dcf99c3899
- GLSA-202007-37 vendor-advisory