Correct what full_eval=True actually disables

docs: correct what full_eval=True actually disables
Correct what full_eval=True actually disablesc48712-docs-correct-what-full-eval-true-actually-cve-2026-54769docscorrect what full eval true actually

Committed by pchalasani

commit message
docs: correct what full_eval=True actually disables

The page claimed full_eval=True 'removes all protection'. Since the fix for
GHSA-q9p7-wqxg-mrhc, both eval sinks (TableChatAgent.pandas_eval and
VectorStore.compute_from_docs) pass safe_eval_globals(vars), which restricts
__builtins__ regardless of full_eval -- so the direct __import__('os') route
is closed even in full_eval mode.
 
Say what is actually true: full_eval=True disables the AST validator, the
restricted builtins remain, and they are not sufficient on their own, since
an expression can still walk the exposed DataFrame's object graph. Add a
pointer to SECURITY.md so readers get the threat model rather than treating
this page as a security boundary.

Editor assessment

This commit patches CVE-2026-54769. The subject 'docs: correct what full_eval=True actually disables' is exactly what a documentation fix should say, and docs is the right type. The body teaches: it records that after the GHSA-q9p7-wqxg-mrhc fix both eval sinks pass safe_eval_globals, so the page's 'removes all protection' claim was wrong, and it replaces that with the accurate split—AST validator off, restricted builtins still on and still insufficient. The pointer to SECURITY.md gives readers the threat model instead of letting the page masquerade as a security boundary. No scope is needed for a docs correction, though a footer linking the advisory would have helped. Clear, honest, and publishable.

Browse categories

More docs examples · Back to search