Skip to content

Patch v1.31.0-151.7#9771

Merged
temporal-cicd[bot] merged 2 commits intocloud/v1.31.0-151from
patch-3.151-48cffd10-7e82-4378-8f96-af7418120fdf
Apr 1, 2026
Merged

Patch v1.31.0-151.7#9771
temporal-cicd[bot] merged 2 commits intocloud/v1.31.0-151from
patch-3.151-48cffd10-7e82-4378-8f96-af7418120fdf

Conversation

@temporal-cicd
Copy link
Copy Markdown
Contributor

@temporal-cicd temporal-cicd bot commented Apr 1, 2026

Patch release 1.31.0 with PR(s):

carlydf and others added 2 commits April 1, 2026 13:13
## What changed and why?
### **Security**

- Check namespaces in batch workflow
([CVE-2026-5199](https://www.cve.org/cverecord?id=CVE-2026-5199), LOW)

## How did you test it?
- [x] built
- [ ] run locally and tested manually
- [ ] covered by existing tests
- [x] added new unit test(s)
- [x] added new functional test(s)

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Medium Risk**
> Tightens namespace validation for privileged batcher activities to
prevent cross-namespace request spoofing; mistakes here could block
legitimate batch jobs or still leave gaps if other call paths use
unvalidated namespaces.
> 
> **Overview**
> Adds strict namespace isolation checks to the batcher worker:
`BatchActivityWithProtobuf` now validates that `NamespaceId` *and* any
provided `Request.Namespace`/`AdminRequest.Namespace` match the worker’s
bound namespace, and consistently uses that bound namespace for
downstream frontend calls (including reset-by-type).
> 
> Adds targeted tests: new unit tests to reject mismatched namespace
strings and to assert `startTaskProcessor` uses the worker namespace for
signals, plus a functional test ensuring a batch terminate in one
namespace does not affect workflows in another.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
3a52696. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

---------

Co-authored-by: Sean Kane <sean.kane@temporal.io>
@temporal-cicd temporal-cicd bot requested review from a team April 1, 2026 20:15
@temporal-cicd temporal-cicd bot requested review from a team as code owners April 1, 2026 20:15
@temporal-cicd temporal-cicd bot merged commit dcafe09 into cloud/v1.31.0-151 Apr 1, 2026
@temporal-cicd temporal-cicd bot deleted the patch-3.151-48cffd10-7e82-4378-8f96-af7418120fdf branch April 1, 2026 20:15
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ carlydf
❌ Temporal Release Bot


Temporal Release Bot seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants