Current delivery state — 30 September 2026
The shared SMTP correction is merged, but Dev has not received that version yet. The release was stopped by outdated Jackson dependencies. The focused repair is now published in PR1321, and its local required gates, rebuilt-image scan and all12 repository CI jobs pass. Human review and normal Dev rollout remain open.
| Package |
Current state |
Evidence |
| Shared SMTP policy |
Merged into dev; rollout still open |
UserService #1267 |
| Current release gate |
Original failed image reproduced; final .7 local image scan passes |
Failed merged-dev build, current proof |
| Focused dependency repair |
Published to dev PR; local gates and all12 CI jobs pass; review/merge open |
UserService #1321, reviewers shazia-k / Shirloin / Hassan9215 |
| Previous Netty/Rabbit candidate |
Separate older dependency changes; does not address this Jackson correction |
UserService #1190 |
The initial .6 pins were insufficient for the published Jackson core advisories. The accepted review finding is corrected with2.21.7/3.1.7. Maintainer advisory. Earlier .6 evidence is retained as superseded history. CodeRabbit's new review is rate-limited; its green status does not prove review completion. No candidate was merged or deployed.
For developers — exact observed source and release order:
Current candidate:5486d94723bc1533ab43846ffe93ab1006a0e954, dev PR1321
Merged SMTP source:1384c59a5c26e25cca8f3bb8f4d46a3079d0f0c6
Current Dev UserService source:8add2791b4674b4d2a60acb6c4f41e76abd03778
Current Dev image:sha256:3f0b277ed66cc641178225aaa16659f6ecf5fe11be9f2a034cc933216df599d0
Rejected merged image:sha256:35163d6c20dd3b3f2be38f3a4c6e7a889c0c162e80b2104078f96a617246100f
POM-only,+5lines; final BOMs2.21.7/3.1.7; actual core/databind inventories checked
Targeted70; units5133; requiredIT1159; MariaDB32; PythonCI104; Spotless/package:pass
Authenticatedreplicas80+12writes,zero errors,one canonical row afterrestart
Independent final POMreview:no findings
Local amd64image:sha256:f658d98291abe177778be084923c762b71c123cf1f8a2743c8a1c0c5e7b28373
Trivy0.72.0,fixableHIGH/CRITICAL policy:exit0,zero findings;local-only image
All12repository CIjobs pass at5486d947; actual CodeRabbitreview still at95c3334
Order:human review/merge into dev -> green publish/scan/sign -> normal Dev rollout -> real mailbox receipt checks
Do not deploy the rejected image or bypass the security gate.
Reviewer test plan for the current gate
- Inspect the new .7 proof and rerun the image gate with current databases → zero fixable HIGH/CRITICAL findings.
- Review the JSON, authentication and mail test results → both Jackson generations work with the aligned patched modules.
- After normal Dev deployment, read back the deployed revision → it includes SMTP1267 and the dependency repair.
- Send each affected test message through the normal UI → the intended test mailbox receives it.
Historical September incident (original wording retained)
In plain terms
Nothing that anyone merged after 15 September is actually running on Dev.
Work gets reviewed, merged and reported as done, but the finished code never reaches the Dev server. The build does run — it just refuses to publish the result, because an automated security check finds two outdated libraries in the image and stops the release. The last image that got through is from 15 September, so Dev has been serving three-day-old code ever since.
The practical damage is that testing on Dev is misleading. Anyone opening a feature there sees the old behaviour and reports it as broken, when in fact the fix exists and is merged. Counsellor onboarding (ORISO-Admin#998) is the clearest example: both backend halves are merged, but the invite wizard on Dev still fails exactly as before.
This is not a code defect in any feature. It is one blocked release step.
What is actually happening
The publish job builds the image, then runs a Trivy scan that rejects fixable HIGH/CRITICAL findings. That scan sits before the push step, so a rejection discards the image instead of shipping it.
ci-main.yml
└─ Publish UserService Docker image ← image is built
└─ Reject fixable high or critical … ← line 72, scan FAILS here
└─ (push to ghcr.io :dev) ← never reached
Two findings trip it:
io.netty:netty-handler CVE-2026-75595 CRITICAL in image 4.2.16.Final
com.rabbitmq:amqp-client CVE-2026-75516 HIGH in image 5.33.1
Both libraries are already manual version overrides above the Spring Boot 4.0.7 BOM, added for earlier advisories against the same two libraries. The new advisories land on exactly those pinned versions, so the pins have to move again.
Why it went unnoticed for twelve consecutive runs: ci-feature-branch.yml has no Trivy step. The gate is only ever exercised by ci-main.yml on dev, after merge. A pull request can therefore be entirely green and still break the publish, and nobody sees the failure until they go looking at the dev branch's workflow history.
Affected merges (each built an image that was thrown away):
#1170 fix: mail links fall back to the environment's own origin
#1174 Group-chat creation checks the Beratungsstelle's effective setting
#1177 counsellor-onboarding: resolve exposes tenant topics and agency existence
#1179 feat: persist the counsellor avatar
#1180 feat(consultants): picture visibility switch and wizard picture step
#1184 Serve canonical contract mail previews
#1189 fix(onboarding): create the reserved agency under an existing consulting type
…and every other merge to dev since 2026-09-15
Fix
#1190 — open, all 12 checks green, waiting only on a human approval to merge.
netty.version 4.2.16.Final → 4.2.18.Final
rabbit-amqp-client.version 5.33.1 → 5.36.0
Both go one patch above the minimum that clears the finding. Two reasons: 4.2.18.Final (9 Sept) is itself a Netty security release, and amqp-client ≤ 5.34.0 is exposed to GHSA-h6w7-qmcm-q6xr (patched in 5.35.0). More importantly, since the gate cannot be observed before merge, an under-shoot is invisible until the next failed publish — taking the latest patch of each minor makes another blind round less likely.
Note: this issue originally scoped the fix to Netty alone at 4.2.17.Final. That was incomplete — the gate rejects amqp-client as well, and the impact is far wider than the contract-mail preview it was filed for.
Acceptance
Follow-up worth its own ticket
Add the image scan to ci-feature-branch.yml, or otherwise make the gate observable on a pull request. As long as it runs only after merge, this failure mode recurs silently and is only ever found by someone checking the dev workflow history by hand.
Current security repair — 6 October 2026
The current Dev image contains two outdated libraries and fails its security scan. Unlike the historical September pipeline described above, the current pipeline publishes the image before scanning it; the rejected image was found running on Dev. Riccardo's existing PR #1356 is the single repair package; no duplicate issue or PR was created.
The dependency update exposed a separate contradiction in invitation transactions: a read-only transaction takes a write lock. The PR now corrects that transaction while preserving the row lock. Both database race suites pass locally. Human review, merge, normal deployment and post-merge image-scan verification remain open.
| Package |
State |
Evidence |
| Spring/jsoup and transaction repair |
Open PR; local tests and all14 CI checks green; human review pending |
PR #1356 |
| Current Dev security gate |
Failed; contains the old affected dependencies |
Merged-dev scan |
| Local complete-image verification |
PASS; 0 fixable HIGH/CRITICAL findings |
Durable proof |
For developers — exact current evidence:
Head:3a681112a722ea99104acabe110efabbe4ad3649; base dev
Diff:3files,5insertions/5deletions
Spring Boot4.0.8 -> Framework7.0.9; jsoup1.23.2 + Safelist API
findInviteByToken write-capable transaction; PESSIMISTIC_WRITE remains
MariaDB red:20tests/3failures; after:H2+MariaDB20each pass
Related units:192pass; package/verify,Spotless,diff-check pass
Actual JAR scan inventories412Java packages;0fixableHIGH/CRITICAL
Trivy0.72.0; complete linux/amd64 image PASS; Ubuntu140+Java412 packages
0fixableHIGH/CRITICAL;0secrets;exit0
Image ID:sha256:c439c5196ced232ec2ef8fd9bdb6a921d92e292059184799e599df406617d31b
No shared environment/image changed; no gate bypass; local image unpushed
Reviewer test plan for this repair
- Review PR fix(deps): Spring Framework 7.0.9 and jsoup 1.23.2 (CVE-2026-47884, C… #1356 and its current image scan → both affected dependencies are patched and the gate passes.
- Run the MariaDB invitation race contract → acceptance and revocation remain mutually exclusive without transaction errors.
- After human merge and normal Dev deployment, verify the running digest → it matches the patched build.
- Sign in and send a message/mail containing HTML → behavior remains correct.
Dev rollout — 7 October 2026
The security repair is merged and its complete release image passed the security gate. The normal Dev deploy script was executed. The new application could not start because the separately merged backend authentication migration requires Keycloak settings absent from the cluster. Dev has been restored to the previous healthy image; the patched image is not currently running.
The prerequisite Helm410 was merged on7October at03cdb2e; preparation/configuration remains open. UserService1358 requires its preparation/configuration before backend rollout, under migration1351.
For operators — measured release and runtime results:
Merged security commit:6f02f7cc61258d4051c7a3849963ba3cd691eec4
Release run37585700390:SUCCESS; integration, MariaDB, package and image scan passed
Patched image:sha256:4fe2d57a2505a51306bd5fa5487b65cdcefb7796272182a611d373d7b93dc6fc
Deploy script:/root/deploy-script/deploy-userservice-dev.sh; rollout/image comparison passed
Application startup:exit1; KeycloakCustomConfig binding rejects blank adminClientSecret/adminServiceSubject
Cluster missing backend-admin/technical client credentials and actual admin subject pin
Rollback image:sha256:857cc5000340d262c310513256cb9627196d4bd68925af858d7ee93be825857f
Restored:1/1 Running; /actuator/health HTTP200 UP; db/redis/rabbit UP
Pull policy:Always; immutable GHCR digest retained
No placeholder credentials, permission changes or security-gate bypass
Security findings remain in restored old image; deployment acceptance is NOT complete
Next: reviewed existing-realm preparation with independent client secrets and actual subject pins, then matching backend deployment and flow acceptance. Keep legacy retirement/protection activation separate.
Current implementation state — 7 October2026
The dependency repair and its release image passed the security gate. The Dev audit found the previously restored image; the new backend requires prepared Keycloak clients and configuration. No later rollout or acceptance is verified by this task. Helm410 is now merged; configuration preparation and a fresh deployment are still unverified.
| Package |
State |
Next gate |
| Security repair1356 |
Merged; subsequent dev image scan passed |
Match deployed digest after rollout |
| Helm410 |
Merged at03cdb2e |
Existing-realm preparation with actual subject pins |
| Image prevention1369 / PR1371 |
💤 In review; current17CI entries passed |
Human approval and normal rollout |
| Helm414 |
💤 Test-only follow-up; currentCI passed |
Human approval |
For operators — verified snapshot and order:
Latest audited US source803970c9; release37619601054 SUCCESS.
Release digest0f996ee3cc6f12c3772e48a50b2b225933bdf51de7e079d4d9043ec919b26b6a.
Audited Dev rollback857cc500:1/1Ready Running, pullAlways.
New client credentials/admin subject absent at audit; no environment changed in this work.
Helm410 human merge2026-10-07T14:37:02Z,03cdb2ea2c64018e68767fe2f2febb7e0a6143ff.
Order: reviewed preparation/configuration -> matching backend rollout -> digest/readiness checks -> real sign-in/mail/settings checks.
Legacy-user retirement and brute-force activation remain separate.
PR1371 currentc1d320fe:17CI entries SUCCESS;114Python+5Java review contracts pass.
Exact artifact scan-before-publish policy retained; OCI/Trivy local proof sourceab6 unchanged.
Review followups repaired oldJava assertions, disposablevenv and checkout credential persistence.
Helm414 head36c49458:147local units,currentCI SUCCESS; humanreview pending.
Mat410 fixedbase09eb0e4:Standards1P2 missing deletion-regression guard, fixed414;Spec0.
No new real registry publication, environment mutation or runtime acceptance by this task.
- Prepare both clients using the reviewed runbook and actual subjects → no placeholder identity or password fallback.
- Deploy the matching scanned backend image → the application starts and its digest matches the release.
- Test the affected sign-in, settings and mail flows → normal behavior and intended mailbox receipt.