Description
Bottle 0.10.x before 0.10.12, 0.11.x before 0.11.7, and 0.12.x before 0.12.6 does not properly limit content types, which allows remote attackers to bypass intended access restrictions via an accepted Content-Type followed by a ; (semi-colon) and a Content-Type that would not be accepted, as demonstrated in YouCompleteMe to execute arbitrary code.
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 | python-bottle | 0.12.6-1 | — |
| Debian 13 | python-bottle | 0.12.6-1 | — |
| Debian 12 | python-bottle | 0.12.6-1 | — |
| Debian 7 | python-bottle | 0.10.11-1+deb7u1 | DSA-2948-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | python-bottle | 0.12.0-1ubuntu0.1~esm1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | bottle | >= 0.10.0, < 0.10.12 | 0.10.12 | GHSA-873q-wpqr-xfgw |
| PyPI | bottle | >= 0.11.0, < 0.11.7 | 0.11.7 | GHSA-873q-wpqr-xfgw |
| PyPI | bottle | >= 0.12.0, < 0.12.6 | 0.12.6 | GHSA-873q-wpqr-xfgw |
| PyPI | bottle | >= 0.8, < 0.10.12 · >= 0.11, < 0.11.7 · >= 0.12, < 0.12.6 | 0.10.12, 0.11.7, 0.12.6 | PYSEC-2014-77 |
Advisories 1
- DSA-2948-1 python-bottle - security update Debian Security (DSA / DLA) · Mar 9, 2026