Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-48785— Apptainer: Incorrect path matching for 'limit container paths' directive

Quick assessment

Affected
apptainer apptainer
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Apptainer 是一个开源容器平台。在 1.5.1 版本之前, 在 配置文件中对 指令采用简单的字符串前缀匹配方式。因此,若允许的路径为 ,则也会同时授权其同级路径(如 )。这样一来,当 Apptainer 以 setuid 模式运行时,本地用户可以利用该缺陷从管理员未预期的目录中启动容器。若系统未使用 setuid 模式,或未配置 指令,则不受此漏洞影响;此外,在已启用无限制用户命名空间的环境中,用户本就可以自行选择并运行任意容器。该问题已在 1.5.1 版本中修复。

CVSS 4.8 · Medium

Affected Version Matrix 1

VendorProduct Version RangeStatus
apptainer apptainer < 1.5.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-48785

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Apptainer: Incorrect path matching for 'limit container paths' directive
Source: CVE Program / CVE List V5
Vulnerability Description
Apptainer is an open source container platform. Prior to version 1.5.1, Image.AuthorizedPath applies plain string-prefix matching to the limit container paths directive in apptainer.conf, so an allowed path such as /data/safe also authorizes a sibling path such as /data/safe-but-unsafe. A local user can consequently run a container from a directory outside the administrator's intended allowlist when Apptainer operates in setuid mode. Installations that do not use setuid mode or do not configure limit container paths are not affected, and unrestricted user namespaces already allow users to run containers of their choice. This issue is fixed in version 1.5.1.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
apptainer apptainer < 1.5.1 -

II. Public POCs for CVE-2026-48785

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-48785

登录查看更多情报信息。

Patches & Fixes for CVE-2026-48785 (2)

Vendor Advisories for CVE-2026-48785 (1)

Vendor Pages for CVE-2026-48785 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-48785

No comments yet


Leave a comment