On this page (7 sections)
Ubuntu has published USN-9198-1, a security notice for HTTP::Tiny, the small HTTP/1.1 client module for Perl shipped in the libhttp-tiny-perl package. According to Ubuntu, the module could forward credential headers such as Authorization, Cookie and Proxy-Authorization to a different origin when following a redirect, including a redirect from HTTPS to HTTP.
If you run Ubuntu servers with Perl scripts, deployment tools or monitoring jobs that fetch URLs with authentication, this is worth a few minutes of checking. At the time of writing, the notice is the only source we have, so some details below are marked as unconfirmed.
What happened
Ubuntu says it discovered that HTTP::Tiny incorrectly forwarded credential headers supplied by the caller when following cross-origin redirects. The headers named are Authorization, Cookie and Proxy-Authorization. The notice specifically includes redirects from HTTPS to HTTP, where the credentials could cross the network unencrypted.
Ubuntu summarizes the impact as: HTTP::Tiny could be made to expose sensitive information over the network, and that an attacker could possibly use the issue to obtain sensitive information. The notice does not describe a working attack, a score, or any in-the-wild exploitation.
Why forwarding headers on redirects is a problem
A redirect tells a client to repeat its request somewhere else. If the new location is a different origin (another host, scheme or port), headers that carry secrets should normally be dropped, because the new destination was never meant to receive them. Browsers and well-behaved HTTP libraries strip Authorization and similar headers in that case.
When a client keeps those headers, anyone who can influence where a redirect points can collect tokens, session cookies or proxy credentials. The risk is highest when the target is plain HTTP, since the secrets can then be seen by anyone on the network path. The caller has to set the headers explicitly for this to matter, so scripts that send no credentials are not exposed by this behavior.
Who is realistically exposed
- Servers on Ubuntu 22.04 LTS, 24.04 LTS or 26.04 LTS with libhttp-tiny-perl installed. It is a common dependency of Perl tooling, so it may be present even if you never installed it directly.
- Perl scripts, cron jobs, backup or deployment helpers and API integrations that call HTTP::Tiny with an Authorization header, a Cookie or a proxy credential.
- Scripts that fetch URLs from third parties or follow user-supplied links while sending credentials.
Code that never passes credential headers, or only talks to a single trusted host that never redirects elsewhere, is much less likely to be affected. The notice does not say how many installs fall into the exposed group.
How to check your systems
This read-only command lists the installed libhttp-tiny-perl version on Ubuntu. Compare the result with the fixed versions in the table below.
dpkg -l libhttp-tiny-perl| Ubuntu release | Fixed libhttp-tiny-perl version |
|---|---|
| 26.04 LTS (resolute) | 0.092-1ubuntu0.26.04.1~esm1 |
| 24.04 LTS (noble) | 0.088-1ubuntu0.24.04.1~esm1 |
| 22.04 LTS (jammy) | 0.080-1ubuntu0.22.04.1~esm1 |
To find your own code that uses the module, this grep searches a directory of scripts for references to HTTP::Tiny. Replace the path with where your Perl code lives; any matching files are the ones to review for credential headers.
grep -rl "HTTP::Tiny" /path/to/your/scriptsWhat to do now
All three fixed versions carry the ~esm1 suffix, and Ubuntu labels them as available through Ubuntu Pro via ESM Apps. That means a plain apt upgrade on a machine without Ubuntu Pro enabled may not offer the fix. Ubuntu notes that Pro is free for up to five machines.
- Run dpkg -l libhttp-tiny-perl on each Ubuntu 22.04, 24.04 and 26.04 host and note the version.
- Check whether the host has Ubuntu Pro with ESM Apps enabled, and attach it if your licensing allows.
- Apply the update and confirm the installed version matches or exceeds the fixed version for your release.
- Search your scripts for HTTP::Tiny and review any that send Authorization, Cookie or Proxy-Authorization headers.
- Rotate tokens, API keys or session credentials that such scripts may have sent to a host that redirected them elsewhere, especially over HTTP.
- Where you can, change scripts to call the final HTTPS URL directly instead of relying on redirects.
Once Ubuntu Pro is attached, a standard package update should pull in the fix. This command refreshes package lists and upgrades only the one package; run it on the affected host.
sudo apt update && sudo apt install --only-upgrade libhttp-tiny-perlAfterwards, run the dpkg command again and compare the version with the table. Long-running Perl processes that already loaded the old module should be restarted to pick up the new code.
Monitoring and hardening afterwards
- Review outbound logs or proxy logs for requests from your servers that were redirected to unexpected hosts or to plain HTTP.
- Treat any credential that may have gone to an unintended host as exposed, and rotate it rather than waiting for proof of misuse.
- Prefer short-lived, narrowly scoped tokens for scripts so a leaked header does less damage.
- Keep a list of which hosts run Perl automation so the next library advisory is quick to triage.
For wider hygiene, the Webforta security guides and small business website security cover patching routines, and Webforta Monitor can watch certificates, DNS and headers on sites you own. None of these replace updating the package itself.
What is still unknown
The notice gives no CVSS score, no attacker details and no statement on exploitation, and it lists a single CVE, CVE-2026-7017. It also references a related notice, USN-8684-1, without explaining the relationship. Only one publisher covers the story so far, and it is the distributor itself, so check the Ubuntu page again for revisions, including the possible community fix.
Looking at other recent Ubuntu library updates? See our notes on USN-9196-1 for Expat and USN-9197-1 for Speex.
Sources
This article is based on the public sources below. Details can change as vendors and researchers publish more; check the original advisories before acting on version numbers.
