Skip to content

[9.4](backport #49975) Update transient dependency github.com/go-jose/go-jose/v4 to v4.1.4#50016

Merged
ycombinator merged 1 commit into9.4from
mergify/bp/9.4/pr-49975
Apr 9, 2026
Merged

[9.4](backport #49975) Update transient dependency github.com/go-jose/go-jose/v4 to v4.1.4#50016
ycombinator merged 1 commit into9.4from
mergify/bp/9.4/pr-49975

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Apr 8, 2026

Proposed commit message

Bumps transient dependency github.com/go-jose/go-jose/v4 from v4.1.3 to v4.1.4.

AgentBeat is not believed to invoke the vulnerable code path (cipher.KeyUnwrap via ParseEncrypted + Decrypt), as go-jose is only pulled in transitively through the Azure SDK for JWS signature verification. This update is being applied as standard maintenance.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.
    This is an automatic backport of pull request Update transient dependency github.com/go-jose/go-jose/v4 to v4.1.4 #49975 done by Mergify.

@mergify mergify bot requested a review from a team as a code owner April 8, 2026 19:39
@mergify mergify bot added the backport label Apr 8, 2026
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Apr 8, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@github-actions github-actions bot added the Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team label Apr 8, 2026
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Apr 8, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

TL;DR

Three jobs failed, but all signs point to CI environment/transient issues rather than a regression in this PR: both FIPS ECH jobs failed on Elastic Cloud API 502 Bad Gateway during Terraform deployment creation, and the Winlogbeat unit job failed with Access is denied. while creating/opening a Windows event log source.

Remediation

  • Re-run the failed jobs first (x-pack/filebeat FIPS ECH, x-pack/metricbeat FIPS ECH, winlogbeat Win 2025 unit tests).
  • If Winlogbeat keeps failing, make TestWindowsEventLogAPI skip on permission-denied in this environment (or ensure the agent has required event log/registry privileges).
Investigation details

Root Cause

  1. x-pack/filebeat FIPS ECH Integration Tests and x-pack/metricbeat FIPS ECH Integration Tests are failing in Terraform provisioning, not beat code execution.

    • Log shows Error: failed creating deployment at ech.tf line 54 with API response 502: Bad Gateway (POST /api/v1/deployments).
    • This is consistent with transient upstream Elastic Cloud/API availability.
  2. Winlogbeat Win 2025 Unit Tests failed in winlogbeat/eventlog due OS permission error.

    • Test failure: === FAIL: winlogbeat/eventlog TestWindowsEventLogAPI
    • Error: wineventlog_test.go:341: Access is denied.
    • In source, winlogbeat/eventlog/wineventlog_test.go:341 is t.Fatal(err) after eventlog.Open(source) in createLog(...), which depends on writing/reading Windows Event Log registry keys under SYSTEM\CurrentControlSet\Services\EventLog (winlogbeat/eventlog/wineventlog_test.go:403-445).

Evidence

  • Build: https://buildkite.com/elastic/beats/builds/43842
  • Jobs/steps:
    • :ubuntu: x-pack/filebeat: FIPS ECH Integration Tests
    • :ubuntu: x-pack/metricbeat: FIPS ECH Integration Tests
    • :windows: Winlogbeat: Win 2025 Unit Tests
  • Key log excerpts:
    • api error: 1 error occurred:
    • * 502: Bad Gateway (POST /api/v1/deployments)
    • === FAIL: winlogbeat/eventlog TestWindowsEventLogAPI
    • wineventlog_test.go:341: Access is denied.

Verification

  • Not run locally; analysis is based on the captured Buildkite failure logs.

Follow-up

  • If reruns still fail:
    • For ECH jobs, capture provider/API request IDs from the same failing step and escalate as infra incident.
    • For Winlogbeat, gate TestWindowsEventLogAPI on required privileges (or skip when Access is denied is returned by eventlog.Open).

Note

🔒 Integrity filtering filtered 3 items

Integrity filtering activated and filtered the following items during workflow execution.
This happens when a tool call accesses a resource that does not meet the required integrity or secrecy level of the workflow.


What is this? | From workflow: PR Buildkite Detective

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

…49975)

Bumps transient dependency github.com/go-jose/go-jose/v4 from v4.1.3 to
v4.1.4 to address CVE-2026-34986.

(cherry picked from commit 0ef3a09)
@ycombinator ycombinator force-pushed the mergify/bp/9.4/pr-49975 branch from 8ac5b37 to 890543b Compare April 9, 2026 13:19
@ycombinator ycombinator enabled auto-merge (squash) April 9, 2026 17:32
@ycombinator ycombinator merged commit 35c0a26 into 9.4 Apr 9, 2026
206 checks passed
@ycombinator ycombinator deleted the mergify/bp/9.4/pr-49975 branch April 9, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants