Skip to content

staging-next-26.05 iteration 7 - 2026-09-12 - #563094

Merged
vcunat merged 129 commits into
release-26.05from
staging-next-26.05
Sep 19, 2026
Merged

vcunat merged 129 commits into
release-26.05from
staging-next-26.05

Conversation

dotlambda and others added 30 commits May 26, 2026 16:45
The unstable branch upgraded to the next major version of `giflib`,
which is a change that cannot be backported.
Allows containers to be run on systems that don't have the `kvm` feature enabled,
like VMs that don't support nested virt.

(cherry picked from commit bb32156)
(cherry picked from commit a700f70)
(cherry picked from commit c05ec02)
(cherry picked from commit fb6b425)
(cherry picked from commit fd40d7c)
(cherry picked from commit e1e3272)
(cherry picked from commit 42cfbb8)
(cherry picked from commit d80f6a3)
Since commit
TriliumNext/Trilium@3b579a3,
the prebuilt binary release of Trilium includes the proprietary
dependency `ckeditor5-premium-features`.
This makes the release as downloaded from GitHub proprietary
& possibly even illegal to distribute because of the combination of
built AGPL source code with a non-AGPL-compatible dependency.

Therefore this commit declares the trilium-desktop package as (also)
unfree to avoid future versions of the trilium-desktop derivation to
be cached by Hydra & to inform users about this change.

Not-cherry-picked-because: already obsolete on master due to Trilium
update to free version, see original PR
#553729.
Since commit
TriliumNext/Trilium@3b579a3,
the prebuilt binary release of Trilium includes the proprietary
dependency `ckeditor5-premium-features`.
This makes the release as downloaded from GitHub proprietary
& possibly even illegal to distribute because of the combination of
built AGPL source code with a non-AGPL-compatible dependency.

Therefore this commit declares the trilium-server package as (also)
unfree to avoid future versions of the trilium-server derivation to
be cached by Hydra & to inform users about this change.

Not-cherry-picked-because: already obsolete on master due to Trilium
update to free version, see original PR
#553729.
(cherry picked from commit 95f82fa)
@vcunat

vcunat commented Sep 16, 2026 •

Copy link
Copy Markdown
Member Author

@wineee

wineee commented Sep 16, 2026

Copy link
Copy Markdown
Member

The upstream has fixed the issue qt-creator/qt-creator@15dcb8b

I created a backport for a Qt Creator version upgrade: #563842

c-vigo added a commit to vig-os/devkit that referenced this pull request Sep 16, 2026
… register

The nightly vulnix gate went red on both refs on 2026-09-16. This is a feed
event, not a closure change: the 09-15 run (34954313210) was green on the same
pin the 09-16 run (35080687787) failed on, and the findings delta is 8 added /
0 removed against exactly one package, with no expiry fired.

Only CVE-2026-86140 crosses the gate's 7.0 threshold; the other seven CVEs in
the batch score 2.9-6.9 and are deliberately left out of the register. The
defect is a strcat stack overflow in xmlSnprintfElements (valid.c), reachable
only while formatting a validity error for a DTD-validated document, and both
NVD (8.0) and the NIST analyst (7.8) score it local-vector. Nothing in this
image validates untrusted XML against a DTD.

The fix, libxml2 2.15.4, is in staging-26.05 and staging-next-26.05 but not in
release-26.05 or the pinned nixos-26.05, so advancing the pin today changes
nothing. It rides the same open staging-next-26.05 iteration-7 PR
(NixOS/nixpkgs#563094) as curl 8.22.0 and openssl 3.6.4, so all three blocks
should clear in one advance and be deleted together rather than renewed.

The block takes its own Wednesday (2026-10-28) rather than joining the
curl+openssl slot it shares a lever with: co-dating would put 17 entries on one
date and re-create the single-Wednesday cliff the #1553 stagger broke up.

Refs: #1636, #1637
c-vigo added a commit to vig-os/devkit that referenced this pull request Sep 16, 2026
…l block (#1638)

Reconciles the vulnix exception register against the 2026-09-16 scan.
Four
issues, two incidents, one reconciliation pass over one file.

## Incident A -- nightly red (#1636 dev / #1637 main)

A feed event, not a closure change. The 09-15 run (`34954313210`) was
green on
the same pin the 09-16 run (`35080687787`) failed on, and the findings
delta is
**8 added / 0 removed against exactly one package**, no expiry fired:
the
libxml2 `CVE-2026-8613x`/`-8614x` batch reached the NVD feed in that
window.

Only `CVE-2026-86140` crosses the gate's 7.0 threshold and takes an
entry. The
other seven score 2.9-6.9 and are deliberately left out, as the glibc
block
already does for its own sub-threshold pair.

The defect is a `strcat` stack overflow in `xmlSnprintfElements`
(`valid.c`),
reachable only while formatting a validity error for a DTD-validated
document.
NVD scores it 8.0 and the NIST analyst 7.8, both **local-vector**.
libxml2 is
transitive here, and nothing in the image validates untrusted XML
against a DTD.

## Incident B -- expiry warning (#1634 main / #1635 dev)

The 2026-09-23 slot is the curl 8.21.0 + openssl 3.6.3 block.
Re-verified
rather than assumed: **all 16 entries are still live findings** against
the
09-16 scan on both refs, so nothing is dead weight and nothing is
deletable.

Re-dated to 2026-10-21. What changed is the estimate of when the lever
lands,
not the assessment -- see below.

## The finding that ties them together

All three packages ride **one** nixpkgs lever:

| package | pinned | fixed in | `release-26.05` | `staging-next-26.05` |
|---|---|---|---|---|
| curl | 8.21.0 | 8.22.0 | ❌ 8.21.0 | ✅ 8.22.0 |
| openssl | 3.6.3 | 3.6.4 | ❌ 3.6.3 | ✅ 3.6.4 |
| libxml2 | 2.15.3 | 2.15.4 | ❌ 2.15.3 | ✅ 2.15.4 |

A single open PR -- `NixOS/nixpkgs#563094`, staging-next-26.05 iteration
7 --
clears all three. Advancing the pin today changes nothing.

**Why the 09-23 block was re-dated instead of left to die on
remediation:** the
block's own note bet on the 2026-09-21 advance, which assumed iteration
7
landing first. It opened 2026-09-14 and is still open; the iteration
cadence
(iter 5 merged 08-18, iter 6 merged 09-05) projects the next merge to
~09-23,
*after* Monday's advance, with the `nixos-26.05` channel trailing
`release-26.05` by about a day on top. Holding 09-23 would most likely
have
lapsed the block on 09-24 -- and `check-expirations` runs in `ci.yml`,
not just
the nightly lanes, so that takes **every open PR** red (the #1547
failure mode).

The new block takes its own Wednesday (10-28) rather than joining the
slot it
shares a lever with: co-dating would put 17 entries on one date and
re-create
the single-Wednesday cliff the #1553 stagger broke up.

Grid after this PR -- one block per Wednesday, all six verified to land
on a
Wednesday:

```
09-30  lower-reachability             (5)
10-07  fzf                            (2)
10-14  glibc                          (6)
10-21  curl 8.21.0 + openssl 3.6.3   (16)   <- moved
10-28  libxml2 CVE-2026-86140         (1)   <- new
2027-06-23  Class-1 shellcheck        (1)
```

All three blocks now share one exit condition and should be **deleted
together**
on the advance that ships the fixed versions -- not renewed.

## Verification

- `vulnix-gate` replayed against both scan artifacts with the edited
register:
  green on both refs (31 exceptions applied).
- `check-expirations`: 31 exceptions validated.
- Every `Expiration:` date confirmed to fall on a Wednesday.
- `just precommit` (full suite, `--all-files`): green.

## Issue closure

`#1635` and `#1636` (dev) close on the replay evidence. **`#1634` and
`#1637`
(main) stay open**: `update-nixpkgs.yml` targets `dev` only and
`prepare-hotfix.yml` is not on `main` yet, so `main`'s register only
moves via a
release train -- the #1592 precedent.

Refs: #1634, #1635, #1636, #1637
@vcunat
vcunat added this pull request to the merge queue Sep 19, 2026
Merged via the queue into release-26.05 with commit 08a8cda Sep 19, 2026
27 checks passed
c-vigo added a commit to vig-os/devkit that referenced this pull request Sep 23, 2026
… advance

The weekly pin advance 21a67dc4 -> 6d663c05 (#1662, merged to dev
2026-09-21) ships curl 8.22.0, openssl 3.6.4, libxml2 2.15.4 and pcre2
10.48, so all three blocks that were waiting on it are now dead weight on
dev: the 16-entry curl + openssl batch (#1614/#1615), the libxml2 entry
CVE-2026-86140 (#1636/#1637) and the pcre2 entry CVE-2026-89161
(#1645/#1637).

All three named the SAME exit condition and shared one lever. curl
8.22.0, openssl 3.6.4, libxml2 2.15.4 and pcre2 10.48 all rode the
staging-next-26.05 iteration-7 PR (NixOS/nixpkgs#563094), which merged to
release-26.05 on 2026-09-19; Monday's advance carried it into the pinned
nixos-26.05. That is exactly the one branch hop plus one weekly advance
the 2026-09-16 re-date predicted, so the blocks die on remediation rather
than being renewed -- four to six weeks before their 2026-10-21,
2026-10-28 and 2026-11-04 expiries.

Reconciled against the 2026-09-23 scan (run 35844608653), not assumed:
the dev lane's findings no longer report curl, openssl, libxml2 or pcre2
at all, and diffing the register against those findings leaves exactly
these 18 entries with no live match. curl is a direct member of the image
env (flake.nix), so this is remediation, not a closure change.

vulnix-gate re-run locally against the dev artifact: green, 15 exceptions
applied. The same run against the main artifact still needs all 18, which
is why `main` keeps the blocks until the next release train carries the
pin and the register over together.

Refs: #1666, #1667
c-vigo added a commit to vig-os/devkit that referenced this pull request Sep 23, 2026
…-09-23 scan (#1670)

## Description

The nightly security scan of 2026-09-23 ([run
35844608653](https://github.com/vig-os/devkit/actions/runs/35844608653))
opened four issues at once: both scan lanes went red on an unexcepted
CRITICAL, and the T-7 expiry notice fired for the `2026-09-30` block.
This is one register problem, not four — `.vulnixignore` is
byte-identical on `main` and `dev`, so the four issues are two work
items across two refs.

Three commits, each with its own evidence.

## Type of Change

- [x] `fix` -- Bug fix

## Changes Made

### 1. Except the unbound DNSSEC-validator advisory (#1668 / #1669)

`CVE-2026-81642` (9.8 CRITICAL) — a DNSKEY whose owner name is a
compression pointer into its own RDATA overflows the digest buffer in
unbound's DNSSEC validator.

Diagnosed as a **feed event, not a closure change**, before writing the
entry: the 2026-09-22 nightly ([run
35711419780](https://github.com/vig-os/devkit/actions/runs/35711419780))
was green on **both** lanes against the same closures — the 2026-09-21
pin advance (#1662) had already merged and been scanned green — and the
delta across the two runs is **1 added / 0 removed**, exactly one
package per ref. No exception had expired.

The pin lever has nowhere to land: `nixos-26.05`, `staging-26.05`
**and** `master` all still ship 1.26.0 with no CVE-named patch. Upstream
fixed it in 1.26.1 (2026-09-16); the nixpkgs bump
([NixOS/nixpkgs#564725](NixOS/nixpkgs#564725))
merged to `staging` on 2026-09-22 and the `staging-26.05` backport
([NixOS/nixpkgs#565869](NixOS/nixpkgs#565869))
opened the same day and is still open — two branch hops away.

Provenance was **re-verified against the built closure**, not carried
over from the 2026-07-26 unbound block's note, because that claim is
what justifies accepting a 9.8:

```
nix why-depends (runtime closure of .#devkitImageEnv):
  devcontainer-image-env -> podman 5.8.6 -> gpgme 2.0.1 -> gnupg 2.4.9
    -> gnutls 3.8.13 -> unbound-1.26.0-lib
```

`nix path-info -r` reports the **`lib` output and nothing else**, the
env exposes no `unbound` executable, and `libgnutls-dane.so` is the only
gnutls library that references libunbound. The advisory's vector is a
*resolver* digesting DNSKEYs from an attacker-controlled zone; this
image ships no resolver at all. Expires `2026-11-04`.

### 2. Drop the 18 exceptions cleared by the four-package pin advance
(#1666 / #1667)

The weekly pin advance `21a67dc4` -> `6d663c05` (#1662) ships curl
8.22.0, openssl 3.6.4, libxml2 2.15.4 and pcre2 10.48. All three blocks
waiting on it named the **same** exit condition and shared **one** lever
— the `staging-next-26.05` iteration-7 PR
([NixOS/nixpkgs#563094](NixOS/nixpkgs#563094)),
which merged to `release-26.05` on 2026-09-19 — exactly the one branch
hop plus one weekly advance the 2026-09-16 re-date predicted.

Reconciled against the findings, not assumed: the `dev` lane no longer
reports curl, openssl, libxml2 or pcre2 **at all**, and diffing the
register against those findings leaves exactly these 18 entries with no
live match. Deleted rather than renewed, four to six weeks before their
`2026-10-21` / `2026-10-28` / `2026-11-04` expiries — the grid exists so
entries die on remediation.

### 3. Reconcile the 2026-09-30 block after online re-verification
(#1666 / #1667)

All five entries were accepted in the 2026-06-23 baseline triage with
*"specifics unverified offline"*. The notice forced the re-verification
it exists to force, and this time the data was available (NVD CPE
configurations, per-source CVSS, nixpkgs branch contents). **The block
does not survive as a block:**

| CVE | Package | Verdict |
|---|---|---|
| `CVE-2026-27820` | zlib 1.3.2 | **CPE mismatch** — moved to Class 1 |
| `CVE-2025-59777` / `-62689` | libmicrohttpd 1.0.2 | renewed ->
`2026-10-21` |
| `CVE-2026-11822` / `-11824` | sqlite 3.51.2 | renewed -> `2026-11-11`
|

**`CVE-2026-27820` is not this product.** It is a buffer overflow in the
Ruby **`zlib` gem** (`Zlib::GzipReader`, `zstream_buffer_ungets`). NVD's
only CPE is `cpe:2.3:a:ruby-lang:zlib:*:*:*:*:*:ruby:*:*` with
`target_sw=ruby`, affecting gem 3.0.0 and below / 3.1.0-3.1.1 /
3.2.0-3.2.1; vulnix matched the C zlib 1.3.2 only because **1.3.2 sorts
below 3.0.1**. This was the 9.8 of the set and the entry with the
weakest rationale ("reachable on any decompression path") — it is a
definitive false positive, so it moves to the Class 1 CPE-mismatch block
on the yearly re-check rather than being renewed as a risk acceptance.

The other four are real matches but **no longer share a Wednesday**,
because their levers are far apart and the stagger rule exists so a
stalled review of one cannot carry the other:

- **libmicrohttpd** — the two CVEs are the *same defect double-assigned*
(one NULL-pointer dereference, fix commit `ff13abc`, identical NVD
descriptions), both `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H` —
**pure availability**, no confidentiality or integrity. The server is
never started (podman -> systemd, systemd not PID 1), so there is no
listener for a crafted packet to reach. Closest lever: 1.0.2 -> 1.0.10
([NixOS/nixpkgs#563547](NixOS/nixpkgs#563547))
merged to `staging-26.05` on 2026-09-15, one hop out.
- **sqlite** — FTS5 memory corruption fixed in 3.53.2, scored by
VulnCheck with no NIST analyst entry, both `AV:L ... UI:R`: the attacker
must get a crafted database opened *and* MATCH-queried. Furthest lever:
`master` has 3.53.3, but `nixos-26.05` and `staging-26.05` both still
ship 3.51.2 with no 26.05 backport open.

Every per-entry note is rewritten to the verified vector, so the
register no longer carries a 9.8 justified by a guess.

### Net effect on the register

32 entries -> **15**, on six distinct Wednesdays (`2026-10-07`, `10-14`,
`10-21`, `11-04`, `11-11`, `2027-06-23`), with no two blocks sharing a
date.

## Changelog Entry

Three entries under `### Security` in `## Unreleased`, mirrored into
`assets/workspace/.devcontainer/CHANGELOG.md`:

- **Except the unbound DNSSEC-validator advisory in the vulnix
register** ([#1668](#1668),
[#1669](#1669))
- **Drop the 18 exceptions cleared by the four-package pin advance**
([#1666](#1666),
[#1667](#1667))
- **Reconcile the 2026-09-30 exception block after online
re-verification**
([#1666](#1666),
[#1667](#1667))

## Testing

- [x] Tests pass locally
- [x] Manual testing performed (described below)

### Manual Testing Details

`vulnix-gate` re-run locally against **both** refs' findings artifacts
from the failing run, which is the authoritative evidence:

```
# before
dev  -> 1 unexcepted: CVE-2026-81642 (9.8) in unbound 1.26.0
main -> 1 unexcepted: CVE-2026-81642 (9.8) in unbound 1.26.0

# after
dev  -> No unexcepted HIGH/CRITICAL findings (CVSS >= 7.0); 15 exception(s) applied
```

`check-expirations .trivyignore .vulnixignore` -> `Validated 15
exception(s) across 2 file(s)`.
`just precommit` (full `prek run --all-files`, both hook roots) ->
green.

Running the gate against the **`main`** artifact with this register
still reports the 18 curl/openssl/libxml2/pcre2 findings — expected and
correct: `main`'s closure is still pre-advance, and `main` keeps its own
copy of those blocks until a release train carries the pin and the
register over together.

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have updated the documentation accordingly — not needed;
`docs/CONTAINER_SECURITY.md` describes the doctrine, which is unchanged
- [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and
pasted the entry above)
- [x] My changes generate no new warnings or errors
- [ ] I have added tests that prove my fix is effective — register data,
not code; the evidence is the gate re-run above
- [x] New and existing unit tests pass locally with my changes
- [x] Any dependent changes have been merged and published

## Additional Notes

**`main` is not fixed by merging this PR**, and that matters before
2026-09-30.

`check-expirations` runs in all PR CI, in pre-commit, in both nightly
lanes **and** in the release train. The renewal here lands on `dev`;
`main` still carries `Expiration: 2026-09-30`, so from **Thursday
2026-10-01** every lane on `main` goes red. `dev` is 44 commits and 6
changelog entries ahead of `main` (last tag 1.15.1), so a 1.16.0 train
is due on content anyway — cutting it before 2026-09-30 is what closes
#1667 and #1669. If the train slips, the hotfix lane is the fallback.

#1668 / #1669 also stay open on the `main` side until a later scheduled
run passes the gate there, per their own closing condition.

Refs: #1666, #1667, #1668, #1669
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.severity: security Issues which raise a security issue, or PRs that fix one 4.workflow: staging A staging-next or staging-next-XX.YY branch 8.has: package (update) This PR updates a package to a newer version 9.needs: reviewer This PR currently has no reviewers requested and needs attention. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. llm-assisted Contributions that include code generation with LLMs

Projects

None yet

Development

Successfully merging this pull request may close these issues.