DHI-jzbv-7pws-pk2v-maag

Source
https://scout.docker.com/v/DHI-jzbv-7pws-pk2v-maag
Import Source
https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jzbv-7pws-pk2v-maag.json
JSON Data
https://api.osv.dev/v1/vulns/DHI-jzbv-7pws-pk2v-maag
Upstream
Published
2026-11-13T22:30:30Z
Modified
2026-11-21T13:00:28Z
Severity
  • 8.2 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
### Summary
Details

Summary

StaticFileHandler allows an unauthenticated attacker to read arbitrary files from the server's filesystem by requesting a path that resolves to a symbolic link placed inside the static root directory. Any application that serves user-uploadable content, or whose static directory is populated by a build/deploy pipeline that creates symlinks (e.g. npm link, webpack, Docker volume mounts, CDN sync tools), is affected. An attacker who can trigger the creation of a symlink pointing outside the static root—or exploit one that already exists—can retrieve sensitive files such as /etc/passwd, private keys, configuration files, or application secrets.

Details

The vulnerability is in tornado.web.StaticFileHandler, specifically in the interaction between two methods in tornado/web.py:

os.path.abspath() normalises . and .. segments but does not resolve symbolic links. As a result, a path like /var/www/static/link passes the startswith("/var/www/static/") check regardless of where link actually points.

Immediately after, os.path.exists() and os.path.isfile() do follow symlinks, so the file they ultimately open is the symlink's target. The fix would be to replace os.path.abspath() with os.path.realpath() in both methods, so the resolved real path of the symlink target is validated against the root, not just its string representation inside the static directory.

PoC

Complete instructions, including specific configuration details, to reproduce the vulnerability. Prerequisites: Python 3.x, Tornado installed.

  1. Create the environment
mkdir -p /tmp/static
echo "DB_PASSWORD=s3cr3t" > /tmp/secret.conf   
ln -s /tmp/secret.conf /tmp/static/config.conf 
  1. Minimal vulnerable server (server.py):
import tornado.web, tornado.ioloop

app = tornado.web.Application([
    (r"/static/(.*)", tornado.web.StaticFileHandler, {"path": "/tmp/static"}),
])
app.listen(8888)
tornado.ioloop.IOLoop.current().start()
  1. Exploit: curl http://localhost:8888/static/config.conf

Impact

Any application using StaticFileHandler is potentially affected if:

  • the static directory contains symlinks pointing outside it (common with build tooling), or
  • the application allows file uploads into the static directory without stripping symlinks.

An unauthenticated remote attacker can read any file readable by the process user: application secrets, private TLS keys, database credentials, /etc/shadow, SSH keys, or source code (depending on the process's filesystem permissions).

References

Affected packages

Docker Hardened Images:Alpine:3.24
jupyterhub-k8s-hub

Package

Name
jupyterhub-k8s-hub
Purl
pkg:apk/dhi/jupyterhub-k8s-hub

Affected ranges

Affected versions

4.*
4.4.1-r0
4.4.2-r0
4.4.2-r1
4.4.2-r2
4.4.2-r3
4.4.2-r4
4.4.2-r5
4.4.2-r6
4.4.3-r0
4.4.4-r0
4.4.4-r1
4.4.4-r2
4.4.4-r3
4.4.5-r0
4.4.5-r1
4.4.5-r2
4.4.5-r3
4.4.5-r4

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jzbv-7pws-pk2v-maag.json"
litellm-database-1.94

Package

Name
litellm-database-1.94
Purl
pkg:apk/dhi/litellm-database-1.94

Affected ranges

Affected versions

1.*
1.94.3-r0
1.94.3-r1
1.94.3-r3

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jzbv-7pws-pk2v-maag.json"
litellm-database-1.95

Package

Name
litellm-database-1.95
Purl
pkg:apk/dhi/litellm-database-1.95

Affected ranges

Affected versions

1.*
1.95.1-r0
1.95.1-r1
1.95.1-r3

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jzbv-7pws-pk2v-maag.json"
litellm-database-1.96

Package

Name
litellm-database-1.96
Purl
pkg:apk/dhi/litellm-database-1.96

Affected ranges

Affected versions

1.*
1.96.2-r0
1.96.2-r1
1.96.2-r3

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jzbv-7pws-pk2v-maag.json"
litellm-database-1.97

Package

Name
litellm-database-1.97
Purl
pkg:apk/dhi/litellm-database-1.97

Affected ranges

Affected versions

1.*
1.97.0-r0
1.97.0-r1
1.97.0-r2
1.97.1-r0
1.97.1-r3
1.97.1-r4
1.97.1-r5
1.97.1-r6
1.97.1-r7

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jzbv-7pws-pk2v-maag.json"
litellm-database

Package

Name
litellm-database
Purl
pkg:apk/dhi/litellm-database

Affected ranges

Affected versions

1.*
1.94.0-r0
1.94.0-r1
1.94.1-r0
1.94.2-r0
1.94.2-r1
1.94.2-r2
1.94.3-r0
1.95.1-r0
1.96.2-r0
1.97.0-r0

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jzbv-7pws-pk2v-maag.json"
Docker Hardened Images:Debian:13
datahub-ingestion

Package

Name
datahub-ingestion
Purl
pkg:deb/dhi/datahub-ingestion

Affected ranges

Affected versions

1.*
1.5.0.7-0
1.6.0.1-0
1.6.0.1-1
1.6.0.1-2
1.6.0.1-3
1.6.0.2-0
1.6.0.2-1
1.7.0.10-0
1.7.0.12-0
1.7.0.13-0
1.7.0.14-0
1.7.0.14-1
1.7.0.14-2
1.7.0.16-0
1.7.0.16-1
1.7.0.17-0
1.7.0.17-1
1.7.0.17-2
1.7.0.17-3
1.7.0.18-0
1.7.0.19-0
1.7.0.19-1
1.7.0.19-2
1.7.0.19-3
1.7.0.19-4
1.7.0.19-5
1.7.0.19-6
1.7.0.20-6
1.7.0.20-7
1.7.0.20-8

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jzbv-7pws-pk2v-maag.json"
datascience-notebook

Package

Name
datascience-notebook
Purl
pkg:deb/dhi/datascience-notebook

Affected ranges

Affected versions

2026.*
2026.07.28-0
2026.07.28-1
2026.07.28-2
2026.07.28-3
2026.07.28-4
2026.07.28-5
2026.07.28-6
2026.07.28-7
2026.07.28-8
2026.07.28-9
2026.07.28-10
2026.07.28-11
2026.07.28-12
2026.07.28-13
2026.07.28-14
2026.07.28-15
2026.07.28-16
2026.07.28-17
2026.07.28-18
2026.07.28-19
2026.07.28-20
2026.07.28-21
2026.07.28-22

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jzbv-7pws-pk2v-maag.json"
jupyterhub-k8s-hub

Package

Name
jupyterhub-k8s-hub
Purl
pkg:deb/dhi/jupyterhub-k8s-hub

Affected ranges

Affected versions

4.*
4.4.1-0
4.4.2-0
4.4.2-1
4.4.2-2
4.4.2-3
4.4.2-4
4.4.2-5
4.4.2-6
4.4.3-0
4.4.4-0
4.4.4-1
4.4.4-2
4.4.4-3
4.4.4-4
4.4.4-5
4.4.4-6
4.4.5-0
4.4.5-1
4.4.5-2
4.4.5-3
4.4.5-4

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jzbv-7pws-pk2v-maag.json"
jupyterhub

Package

Name
jupyterhub
Purl
pkg:deb/dhi/jupyterhub

Affected ranges

Affected versions

5.*
5.5.0-0
5.5.0-1
5.5.1-0
5.5.2-0
5.5.2-1
5.5.2-2
5.5.2-3
5.5.2-4
5.5.2-5
5.5.2-6
5.5.3-0
5.5.4-0
5.5.4-1
5.5.4-2
5.5.4-3
5.5.4-4
5.5.4-5
5.5.4-6
5.5.5-0
5.5.5-1
5.5.5-2
5.5.5-3
5.5.5-4
5.5.5-5
5.5.5-6

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jzbv-7pws-pk2v-maag.json"
litellm-database-1.100

Package

Name
litellm-database-1.100
Purl
pkg:deb/dhi/litellm-database-1.100

Affected ranges

Affected versions

1.*
1.100.1-0
1.100.1-1
1.100.2-0
1.100.3-0
1.100.3-1
1.100.4-0
1.100.4-1
1.100.5-0
1.100.5-2
1.100.5-3
1.100.5-4
1.100.5-5

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jzbv-7pws-pk2v-maag.json"
litellm-database-1.101

Package

Name
litellm-database-1.101
Purl
pkg:deb/dhi/litellm-database-1.101

Affected ranges

Affected versions

1.*
1.101.0-0
1.101.0-1
1.101.1-0
1.101.2-0
1.101.2-1
1.101.3-0
1.101.4-0
1.101.4-1
1.101.5-0
1.101.6-0
1.101.6-2
1.101.6-3
1.101.6-4
1.101.6-5

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jzbv-7pws-pk2v-maag.json"
litellm-database-1.102

Package

Name
litellm-database-1.102
Purl
pkg:deb/dhi/litellm-database-1.102

Affected ranges

Affected versions

1.*
1.102.1-0
1.102.2-0
1.102.2-1
1.102.3-0
1.102.4-0
1.102.4-2
1.102.4-3
1.102.4-4
1.102.4-5

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jzbv-7pws-pk2v-maag.json"
litellm-database-1.94

Package

Name
litellm-database-1.94
Purl
pkg:deb/dhi/litellm-database-1.94

Affected ranges

Affected versions

1.*
1.94.3-0
1.94.3-1
1.94.3-2
1.94.3-3
1.94.3-4
1.94.3-5
1.94.3-6

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jzbv-7pws-pk2v-maag.json"
litellm-database-1.95

Package

Name
litellm-database-1.95
Purl
pkg:deb/dhi/litellm-database-1.95

Affected ranges

Affected versions

1.*
1.95.1-0
1.95.1-1
1.95.1-2
1.95.1-3
1.95.1-4
1.95.1-5
1.95.1-6

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jzbv-7pws-pk2v-maag.json"
litellm-database-1.96

Package

Name
litellm-database-1.96
Purl
pkg:deb/dhi/litellm-database-1.96

Affected ranges

Affected versions

1.*
1.96.2-0
1.96.2-1
1.96.2-2
1.96.2-3
1.96.2-4
1.96.2-5
1.96.2-6

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jzbv-7pws-pk2v-maag.json"
litellm-database-1.97

Package

Name
litellm-database-1.97
Purl
pkg:deb/dhi/litellm-database-1.97

Affected ranges

Affected versions

1.*
1.97.0-0
1.97.0-1
1.97.0-2
1.97.0-3
1.97.0-4
1.97.1-0
1.97.1-1
1.97.1-2
1.97.1-3
1.97.1-4
1.97.1-5
1.97.1-7
1.97.1-8
1.97.1-9
1.97.1-10

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jzbv-7pws-pk2v-maag.json"
litellm-database-1.98

Package

Name
litellm-database-1.98
Purl
pkg:deb/dhi/litellm-database-1.98

Affected ranges

Affected versions

1.*
1.98.0-0
1.98.0-1
1.98.0-2

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jzbv-7pws-pk2v-maag.json"
litellm-database-1.99

Package

Name
litellm-database-1.99
Purl
pkg:deb/dhi/litellm-database-1.99

Affected ranges

Affected versions

1.*
1.99.0-0
1.99.1-0
1.99.1-1
1.99.1-2
1.99.1-3
1.99.3-0
1.99.4-0
1.99.4-1
1.99.4-2
1.99.4-4
1.99.4-5
1.99.4-6
1.99.4-7

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jzbv-7pws-pk2v-maag.json"
litellm-database

Package

Name
litellm-database
Purl
pkg:deb/dhi/litellm-database

Affected ranges

Affected versions

1.*
1.94.0-0
1.94.0-1
1.94.1-0
1.94.2-0
1.94.2-1
1.94.3-0
1.95.1-0
1.96.2-0
1.97.0-0

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jzbv-7pws-pk2v-maag.json"