Select the fix and track exposure separately
HashiCorp released fixes for CVE-2026-107347, which lets symlinks redirect Nomad client writes outside allocation directories with the agent’s privileges. Its October 29, 2026 bulletin describes dispatch-payload and executor-log write paths affecting Nomad and Nomad Enterprise through 2.0.7. Create a record for every client, with separate outcomes for verifying a running fix and investigating historical exposure. Sources: HashiCorp
Select the target by edition: HashiCorp lists Community 2.1.0 and Enterprise 2.1.0, 1.11.12 and 1.10.18 as fixes. A simple comparison against 2.1.0 would misclassify the Enterprise backports. GitHub rates the vulnerability High, with a score of 8.4, but marks its advisory Unreviewed. Its structured version fields say Unknown, although the prose names the fixes. Use HashiCorp’s bulletin for release selection. Sources: HashiCorp, GitHub
Inventory every region, page and replacement source
Begin with registered clients. Use the correct address and credentials for each cluster. Node status defaults to the contacted agent’s local region, and verbose listing includes client versions. With access control lists (ACLs) enabled, the inventory identity needs node:read access. The following ACL policy grants it. Sources: HashiCorp
node {
policy = "read"
}Run the following collection for every region, saving timestamped output and full client IDs. The first commands provide verbose and JSON listings, followed by details for an exact client ID. Continue through every returned page using the pagination controls shown below. Avoid filters that hide unhealthy clients. Sources: HashiCorp
nomad node status -region="$REGION" -verbose
nomad node status -region="$REGION" -json
nomad node status -region="$REGION" -verbose "$NODE_ID"nomad node status -region="$REGION" -verbose -per-page=100
nomad node status -region="$REGION" -verbose -per-page=100 \
-page-token="$NEXT_TOKEN"Registered-node output cannot account for hosts that never registered. Reconcile it against cloud instances, hypervisors, bare-metal records and configuration management across datacenters and node pools. Record machine images, autoscaling templates and bootstrap package pins that could recreate vulnerable clients. Keep offline, missing and unreachable clients unresolved until verified upgraded or demonstrably retired. Link replacements to their predecessors without discarding earlier exposure records. Sources: HashiCorp
Review effective permissions and agent privileges
Review developers, continuous integration (CI) and automation by owner, namespace and effective access. The payload path requires job submission and dispatch plus relevant symlink placement. The executor-log path requires submission of Linux exec or java jobs plus relevant symlinks. Inspect all applicable ACL policies, including wildcard namespaces. Namespace write policy includes submit-job and dispatch-job; explicit capabilities merge with that shorthand. The shorter list below therefore does not narrow access. Sources: HashiCorp
namespace "production" {
policy = "write"
capabilities = ["read-job"]
}An explicit capability list can instead define a restricted inspection policy, as below. Review other grants and workflow requirements before adopting it, then validate allowed and denied operations in a controlled namespace. Namespace deny takes precedence across policies but blocks broadly rather than selectively subtracting dispatch access. Removing dispatch alone does not address the executor-log path. Sources: HashiCorp
namespace "production" {
capabilities = ["list-jobs", "read-job"]
}Record the agent’s actual user ID (UID) separately from task users. For Linux hosts with a systemd unit named nomad, the following inspection captures service settings and process identity. Confirm that the process ID (PID) is nonzero and belongs to the intended agent. Adapt collection for containers or other service managers, preserving the executable path, effective UID and process-start evidence.
systemctl show nomad -p MainPID -p User -p ExecStart
agent_pid=$(systemctl show nomad -p MainPID --value)
ps -p "$agent_pid" -o pid=,ruid=,euid=,user=,lstart=,args=Map parameterized jobs using dispatch_payload.file and Linux exec/java allocations to namespaces, task users and client IDs. Dispatch payloads are written before task startup relative to the task’s local directory. Allocation directories normally sit beneath data_dir/alloc/<allocation-id>. These configurations alone do not indicate exploitation. Because redirected writes use agent privileges, a root agent’s write could lead to root execution if it reaches material consumed by a privileged execution mechanism. Sources: HashiCorp
Check compatibility and choose the rollout method
Check every intervening version’s requirements, then upgrade servers before clients as HashiCorp recommends. For 2.1.0, review the compatibility items below before scheduling client upgrades. Enterprise backports may reduce immediate migration scope, but support planning remains a separate decision. Release notes list October 31, 2026 as the 1.11.x support end and April 30, 2027 for 1.10.x long-term support. Sources: HashiCorp
- Server joining requires agent:write when ACLs are enabled.
- Deprecated retry_join, retry_interval, retry_max and start_join fields in the server block prevent startup; move them into server_join.
- Transport Layer Security (TLS) error-message changes can affect alert matching.
- Allocation API consumers must use AllocatedResources instead of removed resource fields.
- Restoring client state databases older than 0.9 is unsupported. Sources: HashiCorp
Choose between binary replacement with restart and draining workloads onto replacement hosts. The table below separates operational benefits from costs. Plan recovery first: HashiCorp does not support downgrades. Its guidance describes client downgrade as requiring draining and data-directory removal, while server downgrade requires reprovisioning. Sources: HashiCorp
Table
Client upgrade approaches and operational trade-offs
| Approach | Operational benefit | Cost or limitation |
|---|---|---|
| Incremental binary replacement and restart | Can preserve running allocations | Restart delays and service configuration can disrupt workloads |
| Drain and replace hosts | Exercises the replacement image and bootstrap path | Requires spare capacity and workload migration |
| Replace a suspicious host after evidence collection | Establishes a fresh host baseline | Does not explain or reverse prior compromise |
HashiCorp warns that client restarts exceeding heartbeat_grace, 10 seconds by default, may cause allocations to be rescheduled. Treat this as a planning warning, not a universal failure deadline. Workload disconnect settings can change whether allocations become unknown, are replaced or reconnect. Inspect those settings before predicting disruption, then install the selected binary through the fleet’s deployment mechanism. For systemd, the following example restarts the service and checks whether it is active. Sources: HashiCorp
sudo systemctl restart nomad
systemctl is-active nomadFor a drain-based rollout, the commands below provide an operational example. Wait for migration and validate workload health before retiring a host. For retained clients, restore intended scheduling state after verification, including an explicit eligibility check.
nomad node drain -enable -yes "$NODE_ID"
nomad node status "$NODE_ID"Verify each running client and retain the worksheet
Make completion depend on the running process and its exact client record. Capture post-change PID, UID and start time, then repeat the regional query for that client ID. Match its reported version against the selected fixed edition and build. Check connectivity, driver health, scheduling eligibility and expected allocation behavior before marking the fix verified. Sources: HashiCorp
Use the worksheet below as a proposed record for each client incarnation. A local version check alone should not count as evidence that the service restarted onto the installed binary. Verify replacement images and package settings, repeat fleet collection and reconcile counts again. Save evidence and reviewer identity while preserving unresolved clients and predecessor records.
Table
Per-client remediation and exposure worksheet
| Field | Required entry |
|---|---|
| Client identity and location | Full client ID; hostname; infrastructure instance ID; cluster; region; datacenter; node pool |
| Availability | Running, offline, missing, retired; last observation |
| Versions | Previous version/edition; target; current reported version |
| Agent identity | Actual UID and effective UID; PID; executable; observation timestamp |
| Relevant workloads | Namespaces/jobs/allocations; payload filenames; Linux exec/java; task users |
| Permission owner | Developer/CI/automation owner; policy references; effective submit/dispatch rights |
| Upgrade method and replacement source | In-place or replacement; change record; predecessor/successor; image/template ID; package pin; validation evidence |
| Restart verification | Restart time; new process evidence; node report; workload checks |
| Patch status | Pending / installed awaiting restart / running fix verified / retired / unresolved |
| Exposure interval | Earliest/latest supported vulnerable dates; uncertainty |
| Historical activity | Submitters; dispatches; job changes; allocation placement |
| Host investigation | Symlinks; unexpected file changes; evidence references |
| Investigation status | Not started / underway / no evidence found within stated scope / suspicious / confirmed / insufficient evidence |
| Accountability | Remediation owner; investigator; reviewer; next action |
Investigate the vulnerable period separately
Reconstruct exposure intervals from deployment records, process history and image provenance. Do not use the disclosure date as the starting point. Map historical submitters, dispatch activity and job revisions to namespaces and allocation placement. Before cleanup or replacement, preserve allocation symlinks, their targets, filesystem metadata, agent logs, available audit records, CI records and disk evidence.
Compare unexpected host-file changes with trusted baselines and authorized changes. HashiCorp’s advisory does not establish exploitation in the wild or provide a definitive detection procedure, reliable exploit sequence or complete forensic signatures. Record retention gaps, collection scope and the time range behind any no-evidence finding. A client can have a verified running fix while its historical investigation remains unresolved. Assign the remaining evidence work an owner and next action. Sources: HashiCorp