Article View: linux.debian.bugs.dist
Article #221Bug#1147701: flatpak-builder: GHSA-484h-v688-jq5j: Source URL scheme bypasses sandboxed mode protections across multiple source ...
From: Salvatore Bonaccorso
Date: Fri, 09 Oct 2026 09:30
Date: Fri, 09 Oct 2026 09:30
49 lines
3975 bytes
3975 bytes
Control: retitle -1 flatpak-builder: CVE-2026-107466: Source URL scheme bypasses sandboxed mode protections across multiple source subtypes On Mon, Sep 14, 2026 at 01:39:11PM +0100, Simon McVittie wrote: > Package: flatpak-builder > Version: 1.4.10-1 > Severity: important > Tags: security help pending > X-Debbugs-Cc: Debian Security Team <team@security.debian.org> > > https://github.com/flatpak/flatpak-builder/security/advisories/GHSA-484h-v688-jq5j > >In --sandbox mode, flatpak-builder is supposed to prevent > >manifests from referencing sources outside the manifest directory. > >This protection was only enforced for the dir source subtype > >and file source subtype using a local path. > > > >It did not cover: > > > > * url: values using the file:// scheme > > * archive, git, bzr, and svn source subtypes, which lacked > > sandboxed-mode confinement checks entirely > > * mirror-urls > > > >As a result, a manifest could use a file:// URI or a plain local > >path to read or reference arbitrary files on the host filesystem > >from within a sandboxed build, defeating the intended > >containment. > > > >This is primarily relevant to systems building untrusted manifests. > > > >The exploitation is constrained under most cases due to either > >requiring an exact checksum match, or previous access to the host > >filesystem or external tools refusing to operate on file:// URI schemes > >by default. Furthermore, sandboxed mode is not the default > >mode of operation of flatpak-builder. > > There is no CVE for this, and upstream was unsure whether it's > CVE-worthy. Like CVE-2026-86320, it's primarily interesting for > repository-as-a-service providers that build untrusted or semi-trusted > source code, like Flathub. > > I'll try to upload 1.4.11 to fix this and CVE-2026-86320 in unstable soon. > > If this needs fixing in trixie, either with a DSA or in a point release, > I'd appreciate help. (Felix, would you be able to take this one?) Looks this got a CVE assigned, CVE-2026-107466. Regards, Salvatore
Technical Details
Message-ID:
<NMf5n-4r4q-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NDeie-h8qp-17@gated-at.bofh.it> <NDeie-h8qp-17@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Salvatore Bonaccorso <carnil@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1147701: flatpak-builder: GHSA-484h-v688-jq5j: Source URL scheme bypasses sandboxed mode protections across multiple source subtypes Date: Fri, 09 Oct 2026 11:30:01 +0200 Message-ID: <NMf5n-4r4q-1@gated-at.bofh.it> References: <NDeie-h8qp-17@gated-at.bofh.it> <NDeie-h8qp-17@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Fri Oct 9 09:21:21 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Salvatore Bonaccorso <carnil@debian.org>, 1147701@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: pkg-utopia-maintainers@lists.alioth.debian.org X-Debian-Pr-Message: followup 1147701 X-Debian-Pr-Package: flatpak-builder X-Debian-Pr-Keywords: help security X-Debian-Pr-Source: flatpak, flatpak-builder MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Debian-User: carnil X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1995844 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 49 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Debian Security Team <team@security.debian.org> X-Original-Date: Fri, 9 Oct 2026 11:18:10 +0200 X-Original-Message-ID: <asixUsbuI7Y4TTVF@eldamar.lan> X-Original-References: <aqfq7y62eOXIsHcO@definition.pseudorandom.co.uk> <aqfq7y62eOXIsHcO@definition.pseudorandom.co.uk>