Repository navigation
Update dependency pydantic to v1.10.13 [SECURITY] - #197
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/pypi-pydantic-vulnerability
branch
from
July 22, 2025 06:56
b4914a7 to
97292cb
Compare
renovate
Bot
force-pushed
the
renovate/pypi-pydantic-vulnerability
branch
from
August 10, 2025 12:23
97292cb to
baf983e
Compare
renovate
Bot
force-pushed
the
renovate/pypi-pydantic-vulnerability
branch
2 times, most recently
from
March 24, 2026 00:38
baf983e to
96350ad
Compare
renovate
Bot
force-pushed
the
renovate/pypi-pydantic-vulnerability
branch
from
March 30, 2026 18:09
96350ad to
9b625c8
Compare
renovate
Bot
force-pushed
the
renovate/pypi-pydantic-vulnerability
branch
2 times, most recently
from
April 18, 2026 08:55
9b625c8 to
3e9f933
Compare
renovate
Bot
force-pushed
the
renovate/pypi-pydantic-vulnerability
branch
from
May 19, 2026 02:45
e938502 to
3e9f933
Compare
renovate
Bot
force-pushed
the
renovate/pypi-pydantic-vulnerability
branch
2 times, most recently
from
August 17, 2026 06:08
9e7837b to
673b7f2
Compare
renovate
Bot
force-pushed
the
renovate/pypi-pydantic-vulnerability
branch
from
August 19, 2026 23:54
673b7f2 to
d690424
Compare
renovate
Bot
force-pushed
the
renovate/pypi-pydantic-vulnerability
branch
2 times, most recently
from
September 4, 2026 02:11
d690424 to
5a694e5
Compare
renovate
Bot
force-pushed
the
renovate/pypi-pydantic-vulnerability
branch
from
October 1, 2026 17:21
5a694e5 to
7ec6e94
Compare
renovate
Bot
force-pushed
the
renovate/pypi-pydantic-vulnerability
branch
from
October 17, 2026 20:47
7ec6e94 to
e304c94
Compare
renovate
Bot
force-pushed
the
renovate/pypi-pydantic-vulnerability
branch
from
November 8, 2026 18:15
e2e8fbb to
e304c94
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
==1.6.2→==1.10.13Pydantic regular expression denial of service
CVE-2024-3772 / GHSA-mr82-8j83-vxmv
More information
Details
Regular expression denial of service in Pydantic < 2.4.0, < 1.10.13 allows remote attackers to cause denial of service via a crafted email string.
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
pydantic/pydantic (pydantic)
v1.10.13Compare Source
pydantic.validate_email, #7673 by @hramezaniv1.10.12Compare Source
maxlenproperty being dropped ondequevalidation. Happened only if the deque item has been typed. Changes the_validate_sequence_likefunc, #6581 by @maciekglowkav1.10.11Compare Source
v1.10.10Compare Source
Jsonfield support to settings management, #6250 by @hramezaniv1.10.9Compare Source
v1.10.8Compare Source
Literalusage withtyping-extension==4.6.0, #5826 by @hramezaniAnyClassMethodfor changes in python/typeshed#9771, #5505 by @ITProKylev1.10.7Compare Source
ConstrainedStrwithregexas dict key, #5223 by @matejetzfrom_ormin their own classes, #5187 by @dmontaguInitVarusage with pydantic dataclasses, mypy version1.1.1and the custom mypy plugin, #5162 by @cdce8pv1.10.6Compare Source
functools.partialandfunctools.partialmethodwhen checking the signature, #5126 by @JensHeinrichdataclass_transformdecorator for pydantic dataclasses, #5111 by @cdce8pValidationError, notConfigError, when a discriminator value is unhashable, #4773 by @kurtmckeev1.10.5Compare Source
GenericModels with complex sets of models, #5052 by @MarkusSintonenRecursionErrorwhen deep-copying dataclass types wrapped by pydantic, #4949 by @mbillingrX | Yunion syntax breakingGenericModel, #4146 by @thenxv1.10.4Compare Source
typing-extensions>=4.2.0, #4885 by @samuelcolvinv1.10.3Compare Source
NOTE: v1.10.3 was "yanked" from PyPI due to #4885 which is fixed in v1.10.4
schemaandschema_jsonon models where a model instance is a one of default values, #4781 by @BobroniumDataclassProxy, #4695 by @PrettyWoodpostgresql+psycopgas allowed scheme forPostgreDsnto make it usable with SQLAlchemy 2, #4689 by @morianpatternPropertiesandadditionalProperties, #4641 by @jpariseunique_items, #4568 by @mfulgoGenericModelwithCallableparam raising aTypeError, #4551 by @mfulgoStrictStrtype annotation, #4538 by @sispdataclass_transformkeyword argument name fromfield_descriptorstofield_specifiers, #4500 by @samuelcolvin__post_init__when dataclasses are inherited, #4487 by @PrettyWoodv1.10.2Compare Source
GitHub release
The highlights of the v2.13 release are available in the blog post.
Several minor changes (considered non-breaking changes according to our versioning policy)
are also included in this release. Make sure to look into them before upgrading.
This release contains the updated
pydantic.v1namespace, matching version 1.10.26 which includes support for Python 3.14.What's Changed
See the beta releases for all changes sinces 2.12.
New Features
Changes
Fixes
Anywhen synthesizing_build_sourcesforBaseSettings.__init__()signature in the mypy plugin by @Viicos in #13049extraconfiguration by @Viicos in #13062Packaging
New Contributors
v1.10.1Compare Source
GitHub release
The code released in v2.8.0 is functionally identical to that of v2.8.0b1.
What's Changed
Packaging
v1.1.367and add type checking tests for pipeline API by @adriangb in #9674pydantic.v1stub tov1.10.17by @sydney-runkle in #9707v2.8.0b1by @sydney-runkle in #9741pydantic-coretov2.20.0by @sydney-runkle in #9745pdmversion used forpdm.lockto v2.16.1 by @sydney-runkle in #9761ruffv0.4.8by @Viicos in #9585New Features
defer_buildforTypeAdapterby @MarkusSintonen in #8939deprecatedfield in json schema by @NeevCohen in #9298fail_fastfeature by @uriyyo in #9708ser_json_inf_nan='strings'mode to produce valid JSON by @josh-newman in pydantic/pydantic-core#1307Changes
Annotatedfield by @nix010 in #9170__validators__values increate_modelby @sydney-runkle in #9697smartunion matching logic by @sydney-runkle in pydantic/pydantic-core#1322You can read more about our
smartunion matching logic here. In some cases, if the old behavioris desired, you can switch to
left-to-rightmode and change the order of yourUnionmembers.Performance
Internal Improvements
_display_error_loc()by 25% inpydantic/v1/error_wrappers.pyby @misrasaurabh1 in #9653_get_all_json_refs()by 34% inpydantic/json_schema.pyby @misrasaurabh1 in #9650is_pydantic_dataclass()by 41% inpydantic/dataclasses.pyby @misrasaurabh1 in #9652to_snake()by 27% inpydantic/alias_generators.pyby @misrasaurabh1 in #9747unwrap_wrapped_function()by 93% inpydantic/_internal/_decorators.pyby @misrasaurabh1 in #9727Fixes
__spec__.parentwith__package__by @hramezani in #9331Sequencetype by @anesmemisevic in #9303_frame_depthby @Viicos in #9353ImportStringjson schema compatible by @amitschang in #9344PrivateAttr) from__init__signature in type checkers by @idan22moral in #9293TypeVardefaults robust to the CPythonPEP-696implementation by @AlexWaygood in #9426PlainSerializerwith builtin types by @Viicos in #9450strictspecification forStringConstraint(strict=False)by @vbmendes in #9476Selfwhere possible by @Viicos in #9479RootModel.model_constructsignature in themypyplugin by @Viicos in #9480validation_contextby @OhioDschungel6 in #9508dump_json/dump_pythonby @alexcouper in #9495Field()constructor by @bjmc in #9484TypeAdapterby @Viicos in #9570__setstate__of BaseModel by @anhpham1509 in #9584PEP 746by @adriangb in #9587TypeVarfields by @dmontagu in #9606regexflags in validation and json schema by @sydney-runkle in #9591IpvAnyAddressby @sydney-runkle in #9640__pydantic_extra__by @dmontagu in #9659Optional[Decimal]by @lazyhope in #9754validate_calltype params fix by @sydney-runkle in #9760re.Patternobject in regex patterns to allow for regex flags by @sydney-runkle in pydantic/pydantic-core#1318New Contributors
v1.10.0Compare Source
dataclassdecorator to really act like its standard lib equivalent.It hence keeps
__eq__,__hash__, ... and makes comparison with its non-validated version possible.It also fixes usage of
frozendataclasses in fields and usage ofdefault_factoryin nested dataclasses.The support of
Config.extrahas been added.Finally, config customization directly via a
dictis now possible, #2557 by @PrettyWoodBREAKING CHANGES:
compiledboolean (whether pydantic is compiled with cython) has been moved frommain.pytoversion.pyConfig.extrais supported,dataclassignores by default extra arguments (likeBaseModel)__set_name__protocol inBaseModelfor PrivateAttrs, #4407 by @tlambert03parse_env_varinConfig, #4406 by @acmiyaguchimastertomain, #4405 by @hramezaniStrictStrdoes not raiseValidationErrorwhenmax_lengthis present inField, #4388 by @hramezaniSecretStrandSecretByteshashable, #4387 by @chbndrhnnsStrictBytesdoes not raiseValidationErrorwhenmax_lengthis present inField, #4380 by @JeanArhancettype, #4375 by @hramezanire.Pattern, #4366 by @hramezani__post_init_post_parse__is incorrectly passed keyword arguments when no__post_init__is defined, #4361 by @hramezaniForwardRefandCallablefrompydantic.typinginstead oftypingand also exposeMappingIntStrAny, #4358 by @aminalaeeAnytypes from thedataclassdecorator so it can be used with thedisallow_any_exprmypy option, #4356 by @DetachHeadpydantic/pydantic, #4348 by @yezz123Extra.forbidis validated multiple times, #4343 by @detachheadoneOfinstead ofanyOfwhen generating OpenAPI schema definitions, #4335 by @MaxwellPayneJsontype.Json[list[str]]will be now inferred aslist[str],Json[Any]should be used instead of plainJson.Runtime behaviour is not changed, #4332 by @Bobronium
alias is not Nonecheck, rather thanbool(alias), #4253 by @sergeytsaplinForwardRefs inField.outer_type_, #4249 by @JacobHayes__dataclass_transform__has been replaced bytyping_extensions.dataclass_transform, which is the preferred way to mark pydantic models as a dataclass under PEP 681, #4241 by @multimericConfigwhen validating nestedNamedTuplefields, #4219 by @synekBaseModel.constructto work with aliased Fields, #4192 by @kylebamossmart_deepcopyand revert todeepcopyif so, #4184 by @coneybeareConfig.anystr_upperandto_upperkwarg to constr and conbytes, #4165 by @sathelersetandfrozensetwhen they include default values, #4155 by @aminalaee@validatorare classmethods, #4102 by @DMRobertsonType[]in schema, #4051 by @aminalaeedefaultvalue in JSON Schema whenconst=True, #4031 by @aminalaeeallow_inf_nan, #3994 by @tiangoloenv_prefixhad characters in common withenv_nested_delimiter, #3975 by @arsenroncreate_model, #3945 by @hot123sBaseModel, #3920 by @irgolicMinus was serialized in incorrect place ("P-1DT23H59M59.888735S" instead of correct "-P1DT23H59M59.888735S"), #3899 by @07pepa
supports the following schemes:
cockroachdb,cockroachdb+psycopg2andcockroachdb+asyncpg, #3839 by @blubber__init__method in models, #3824 by @patrick91BaseModelinstances, #3777 by @PrettyWoodConstrainedDateandcondate, #3740 by @hottwajkw_onlyin dataclasses, #3670 by @detachheadColorclass, #3646 by @aminalaeeto_lower_camel()for "non pascal case" camel case, #3463 by @schlerpdefaultanddefault_factoryarguments in Mypy plugin, #3430 by @klaa97inspect.signatureforBaseModel, #3413 by @fix-inspect-signatureSecretFieldabstract class so that all the current and future secret fields likeSecretStrandSecretByteswill derive from it, #3409 by @expobrainPostgresDsn, #3337 by @rglskSecretsSettingsSourceto respectconfig.case_sensitive, #3273 by @JeanArhancetConfigErrorwhen multiple fields are incorrectly set for a single validator, #3215 by @SunsetOrangeFields insideAnnotatedforTypedDictsrequired, #3133 by @ezegomezint_validator, #3112 by @ojii__rich_repr__method toRepresentationclass which enables pretty printing with Rich, #3099 by @willmcguganAnyUrland descendent types, #3061 by @FaresAhmedbvalidate_argumentsdecorator now supportsalias, #3019 by @MAD-py__dict__and__weakref__attributes inAnyUrland IP address fields, #2890 by @nuno-andreFinalin a field type annotation, #2766 by @uriyyotyping_extensions>=4.1.0to guaranteedataclass_transformis available, #4424 by @commonismcopy_on_model_validationto reflect recent changes, #4369 by @samuelcolvin__slots__is passed tocreate_model,__slots__is then ignored, #4432 by @samuelcolvinBaseSettings.Configto avoid mypy errors, also correct mypy version compatibility notice in docs, #4450 by @samuelcolvinv1.9.2Compare Source
**Revert Breaking Chan
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.