Skip to main content
← Back to list
01Issue
BugShippedExtensionsPublic
AssigneesNone

Relationships

↔ sibling #4840

#4923 @swamp/cfgmgmt firewall: placing a deny with first or before can lock out the run's own SSH session

Opened by stack72 · 11/19/2026· Shipped 11/20/2026

The firewall model guards removing or moving an inbound allow that admits this run's SSH session (refuseRemovingOwnAccess in cfgmgmt/extensions/models/firewall.ts), but not adding or placing a deny or reject. Without placement a new deny is appended below existing allows, so it rarely takes effect. With first: true, or before: on the allow's comment (ufw since #4334, and iptables once #4840 lands), a deny or reject for a source CIDR that contains the session's client address is placed above the allow and takes effect immediately, cutting the run off and locking the operator out. Expected: refuse placing a deny/reject above an allow when the deny covers this run's session (port, source and destination as readSession reports them), with the same allowRemovingOwnAccess opt-out, on every backend that supports placement. Found during adversarial review of #4840.

02Bog Flow
✓OPEN✓TRIAGED✓IN PROGRESS✓SHIPPEDLINKED+ 5 MOREPR_MERGED+ 1 MORESESSION_SUMMARIZED

Shipped

11/20/2026, 7:24:27 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 linked sibling of #484011/19/2026, 11:55:17 PM
Editable. Press Enter to edit.

system commented 11/19/2026, 11:47:51 PM

Classified automatically when this issue was filed.

  • Source: Extensions

If you feel this classification is incorrect, add a ripple to tell us so.

Sign in to post a ripple.