Skip to content

Add allow_imports option to DEFINE_fiddle_config etc., default True#602

Merged
copybara-service[bot] merged 1 commit intomainfrom
test_880949323
Mar 9, 2026
Merged

Add allow_imports option to DEFINE_fiddle_config etc., default True#602
copybara-service[bot] merged 1 commit intomainfrom
test_880949323

Conversation

@copybara-service
Copy link

Add allow_imports option to DEFINE_fiddle_config etc., default True

A later change will flip the default value of this flag to False.

Setting this flag to False fixes an RCE security vulnerability that occurs if the Fiddle flags come from an untrusted or less-trusted source. It prevents Fiddle from implicitly loading modules and executing code when dotted names are passed, such as --config=config:foo.bar().

@google-cla
Copy link

google-cla bot commented Mar 9, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

A later change will flip the default value of this flag to False.

Setting this flag to False  fixes an RCE security vulnerability that occurs if the Fiddle flags come from an untrusted or less-trusted source. It prevents Fiddle from implicitly loading modules and executing code when dotted names are passed, such as --config=config:foo.bar().

PiperOrigin-RevId: 881035149
@copybara-service copybara-service bot merged commit bf94959 into main Mar 9, 2026
@copybara-service copybara-service bot deleted the test_880949323 branch March 9, 2026 21:19
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.

0 participants